use LWP; # or is that LWP::Simple ??? package record; my $url = "http://www.perlmonks.org"; my $content = get( $url );