in reply to Curl and Perl

Go to http://search.cpan.org and type in what you're looking for ("curl" in this case). Once you found a module suitable for your needs, start your cpan client and type "install MODULENAME" (replacing MODULENAME by what you found).
The LWP module is more commonly used within Perl scripte, it might be worth a try unless you really need some curl functionality.