in reply to Perl module for downloading web pages

It sounds like LWP would be very useful to look at. I would like to add that perldoc lwpcook contains some more documentation and code examples about LWP. There's even an entire O'Reilly book dedicated to it called "Perl & LWP". It's very easy to use, in fact LWP was what brought me to perl in the first place.