in reply to Hitting a web page
For making a CGI request you need to look at the LWP bundle of modules from CPAN.
"Perl makes the fun jobs fun and the boring jobs bearable" - me