Help for this page
# Note that if you do this, you must explicitly
# export everything you want to use:
my $html = get $webpage || die "Timed out!";
use LWP::Simple qw($ua get);
get $webpage . $login_string;
my $logged_in_page = get $webpage . $private_page;
$response = $ua->request($request);
my $html = $response->content;
perl -MLWP::Simple -e "getprint 'http://perlmonks.org?node_id=145587'"
perl -MLWP::Simple -e "getprint 'http://perlmonks.org?node=showchatmes
perl -MLWP::Simple -e "get 'http://perlmonks.org?op=login&user=Dog and
+ Pony&passwd=doNotUseThisPW&op=message&message=Hi it is me on the com
my $words = 'LWP::Simple tutorial'
my $html = get "http://www.perlmonks.org/index.pl?node=$words";
my $response_code = mirror $webpage, 'webpage.html';
die "Bad response $response_code" unless is_success($response_code);
print "$webpage exists and server is up!\n" if (head($webpage));
my @headers = head $webpage;
print join "\n", @headers;
Electric eels were invented at the same time as electricity
Before electricity was invented, electric eels had to stun with gas
Results (365 votes). Check out past polls.