WWW-Curl - system call to curl vs curl in perl

Posted on Fri Aug 19 19:51:43 2005 by dcrouse
system call to curl vs curl in perl
OK, so I'm using curl in a perl program. It looks like this:
my $curl = "/usr/bin/curl"; my $curl_opt = "-v"; open(WRITEME,"|$curl $curl_opt -H \"Content-Type: application/x-www-form-urlenco ded\" -d \@- $post_url > $xfer_log"); print WRITEME "xmldata=".uri_escape($fax);
How would this code change if I installed the WWW-curl perl module?
Write a response