libwww-perl reviews

cpanratings
 

RSS | Module Info | Add a review of libwww-perl

libwww-perl (6.04) *****

This is by far the sanest HTTP client implementation I happened to come by. Makes simple things easy, yet leaves you in control.

It's surprising how many clients don't even understand response code classes (is_success, is_redirect, is_error, ...) don't grok Encoding headers or implement subrequests after redirects or authentication sanely. This one does very well.

Since a couple of versions ago it implements, in addition to common synchronous interface, callback-oriented API that's handy for handling streaming responses.

Existence of this module alone is a good case for using Perl to implement a Web client.

Lubomir Rintel - 2012-05-10T04:16:45 (permalink)

4 out of 4 found this review helpful. Was this review helpful to you?  Yes No

libwww-perl (5.827) *****

LWP::Simple shows how interfaces should be done:

use LWP::Simple;

$content = get("www.sn.no/";);

die "Couldn't get it!" unless defined $content;

If I want to get a URL's contents, I get() the "URL's" $content. IO::All takes it a step further, but LWP::Simple shows how to make easy things easy.

Pista Palo - 2009-06-24T10:04:19 (permalink)

3 out of 5 found this review helpful. Was this review helpful to you?  Yes No

libwww-perl (5.822) *****

Does exactly what it says on the tin.

Adrian Howard - 2008-12-06T06:18:37 (permalink)

1 out of 2 found this review helpful. Was this review helpful to you?  Yes No

libwww-perl (5.820) *****

I really like this set of modules, because they save me so much time. The functions do what I think they're going to do, and the documentation always heads me in the right direction. Unlike the horrific CGI.pm, even when I was a complete beginner at Perl I was able to use these modules without severe stress, which is one of the big reasons I like them.

I'm sure these modules have their limitations but if I need to stretch the boundaries of what these can do, I'd expect to have to fiddle with source code and write my own modules. I'd much rather have a simple thing to make straightforward jobs easier than a complicated thing which I can't use to "just get it done".

Ben Bullock - 2008-11-21T16:09:28 (permalink)

4 out of 5 found this review helpful. Was this review helpful to you?  Yes No

libwww-perl (5.805) ***

libwww-perl is one of those venerable CPAN distributions that has been around for years and for which there is simply no alternative. It makes writing www-clients very easy and offers a decent interface. Furthermore, switching to SSL-encrypted HTTPS will require very little or not changes at all to your code-base.

It has however quite a few flaws and makes in parts arbitrary assumptions that are difficult to get by.

We use it extensively at work where we are using HTTP as a sort-of RPC. We do stretch things a little but we are certainly still within the specifications of HTTP. We were therefore surprised and rather disappointed to see how many bugs this (supposedly) mature module has: It limits the amount of header-fields to 128. The interface does not allow to increase this value so we had to redefine bits of HTTP::Methods in a very ugly way. The part that reads the HTTP response-header from the network is buggy. LWP is doing the right thing for the body interestingly enough. Again, we had to redefine one of libwww's method to work around this. Finally, HTTP::Message::parse() is broken in that it does not understand header-fields with multiple values. This is bizarre because a request with multi-valued headers (via push_header()) is correctly stringified into an HTTP request.

By and large, our impression is that libwww-perl works well for most of the common cases. Stretch it a little, though, and you'll soon find it to be a less agreeable companion.

Tassilo v. Parseval - 2006-11-11T01:41:23 (permalink)

14 out of 14 found this review helpful. Was this review helpful to you?  Yes No

libwww-perl (5.803) *****

The main reason I stick to perl :-)
Excellent package - designed for rapid development of simple scripts yet still offers many advanced features for non standard projects.

Very reliable and well documented.

udassin - 2005-05-06T11:29:06 (permalink)

4 out of 6 found this review helpful. Was this review helpful to you?  Yes No

libwww-perl (5.803) *****

Excellent modules! It helps dealing with the myriad of protocols of the web very well. A must for anyone who considers doing web automation and processing from Perl.

Shlomi Fish - 2005-03-26T02:13:13 (permalink)

5 out of 6 found this review helpful. Was this review helpful to you?  Yes No

libwww-perl (5.800) *****

This is great, and the lwp-download is fast

pepito - 2004-08-24T17:53:13 (permalink)

2 out of 6 found this review helpful. Was this review helpful to you?  Yes No
7 hidden unhelpful reviews