Get a web page
use LWP::Simple; $content = get("http://www.cpan.org/doc/FAQs/index.html"); open FILEHANDLE, ">file.txt"; print FILEHANDLE $content; close FILEHANDLE;