HTTP::Request::CurlParameters - container for a Curl-like HTTP request
Objects of this class are mostly created from HTTP::Request::FromCurl.
->new
Options:
->as_request
$ua->request( $r->as_request );
Returns an equivalent HTTP::Request object
$r->as_snippet
print $r->as_snippet;
Returns a code snippet that returns code to create an equivalent HTTP::Request object and to perform the request using WWW::Mechanize.
This is mostly intended as a convenience function for creating Perl demo snippets from curl examples.
curl
The public repository of this module is http://github.com/Corion/HTTP-Request-FromCurl.
The public support forum of this module is https://perlmonks.org/.
Please report bugs in this module via the RT CPAN bug queue at https://rt.cpan.org/Public/Dist/Display.html?Name=HTTP-Request-FromCurl or via mail to filter-signatures-Bugs@rt.cpan.org.
Max Maischein corion@cpan.org
corion@cpan.org
Copyright 2018 by Max Maischein corion@cpan.org.
This module is released under the same terms as Perl itself.
To install HTTP::Request::FromCurl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTTP::Request::FromCurl
CPAN shell
perl -MCPAN -e shell install HTTP::Request::FromCurl
For more information on module installation, please visit the detailed CPAN module installation guide.