use strict; use LWP::Simple; my $url = 'http://www.example.com'; get $url or die "Couldn't retrieve $url";