There now is HTTP::Request::FromCurl (curl2lwp - convert Curl command line arguments to LWP / Mechanize Perl code), which includes curl2lwp.pl, that converts curl command lines to Perl code.
There also is an online Curl to Perl converter running that module as its backend.
In reply to Re^3: Runs from Command Line but NOT from Perl
by Corion
in thread Runs from Command Line but NOT from Perl
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |