use LWP::Simple; getprint( "http://www.perlmonks.org/" ); # command line: perl -MLWP::Simple -e 'getprint( "http://www.perlmonks.org/" )'