in reply to www::mechanize - the basics of a great perl module

use strict; use WWW::Mechanize; my $mech = WWW::Mechanize->new; $mech->get("http://www.perlmonks.org", ':content_file' => "perlmonks.h +tml");
There - one get only. Short enough?

How to add error handling is covered in the documentation.