Then, as I already showed, you want to use system to run curl.
In reply to Re^5: Curl and Perl by Corion in thread Curl and Perl by sai.dasika