AnyEvent::Net::Curl::Const - Access Net::Curl::* constants by name
version 0.019
$easy->setopt(AnyEvent::Net::Curl::Const::opt('verbose'), 1); ...; $easy->getinfo(AnyEvent::Net::Curl::Const::info('size_download'));
Perl-friendly access to the libcurl constants. For example, you can access CURLOPT_TCP_NODELAY value by supplying any of:
CURLOPT_TCP_NODELAY
'Net::Curl::Easy::CURLOPT_TCP_NODELAY'
'CURLOPT_TCP_NODELAY'
'TCP_NODELAY'
'TCP-NoDelay'
'tcp_nodelay'
Retrieve numeric value for $constant_name in CURLINFO namespace.
$constant_name
CURLINFO
Retrieve numeric value for $constant_name in CURLOPT namespace.
libcurl - curl_easy_getinfo()
libcurl - curl_easy_setopt()
Net::Curl::Easy
Stanislaw Pusep <stas@sysd.org>
This software is copyright (c) 2012 by Stanislaw Pusep.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install AnyEvent::Net::Curl::Queued, copy and paste the appropriate command in to your terminal.
cpanm
cpanm AnyEvent::Net::Curl::Queued
CPAN shell
perl -MCPAN -e shell install AnyEvent::Net::Curl::Queued
For more information on module installation, please visit the detailed CPAN module installation guide.