|Just another Perl shrine|
First impressions of WWW::Curl::Liteby sri (Vicar)
|on Feb 16, 2004 at 01:24 UTC||Need Help??|
Today i would like to give you some first impressions of WWW::Curl::Lite.
Here are some examples to wet your appetite.
The advanced interface:
The parallel interface:
Some of you may already know WWW::Curl, and how horrible it's API is.
Here is a small example that shows it.
Yes, thats very similar to libcurls C API, but pure horror for most Perl hackers. :)
In the future WWW::Curl::Lite should become a better alternative to LWP.
Currently it's biggest feature is its performance, benchmarks showed that its around 30 times faster than LWP and LWP::Parallel.
I have not yet benchmarked it against HTTP::GHTTP and HTTP::MHTTP, but WWW::Curl::Lite can handle parallel downloads, so chances are very good that it will win.
WWW::Curl::Lite doesn't use the official WWW::Curl 2.0 from CPAN, instead it uses my unofficial WWW::Curl 3.0, which adds many new features, the most important one is multi support.
Next to that many things were cleaned or rewritten from scratch.
UPDATE: Problems are solved, we are working on a release.
You would help very much by giving some productive feedback, like whats missing or what sucks.
Patches, documentation or some evil examples would be nice too!
Currently you can grab actual versions from here: