in reply to Re: libcurl and WWW::Curl speed benchmark
in thread libcurl and WWW::Curl speed benchmark

i search for this http://curl.haxx.se/mail/lib-2002-04/0223.html
on CPAN pure documentation, working examples but there are no fully help about all params
hmmm, now i have a problem like this
Undefined subroutine &Curl::easy::getinfo called at p.pl line 62
Line 62: $start = $curl->$getinfo(CURLINFO_STARTTRANSFER_TIME);

but $bytes = $curl->getinfo(CURLINFO_SIZE_DOWNLOAD); works fine

Replies are listed 'Best First'.
Re^3: libcurl and WWW::Curl speed benchmark
by marto (Cardinal) on Apr 04, 2011 at 13:56 UTC

    This article is from 2002, a lot can change in 9 years. The module was renamed from Curl::easy to WWW::Curl::easy in 2003, prior to it being uploaded to CPAN. Then another change to WWW::Curl::Easy in 2005, WWW::Curl::easy was removed in 2008. As has already been pointed out, WWW::Curl states:

    "This module provides a Perl interface to libcurl. It is not intended to be a standalone module and because of this, the main libcurl documentation should be consulted for API details at http://curl.haxx.se. The documentation you're reading right now only contains the Perl specific details, some sample code and the differences between the C API and the Perl one."

    It may be worth actually reading and understanding a modules documentation before writing it off as "awful".

Re^3: libcurl and WWW::Curl speed benchmark
by Anonymous Monk on Apr 04, 2011 at 13:04 UTC
    don't look at outdated info, see this