Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    use LWP::UserAgent;
    ...
    my $req = HTTP::Request->new('GET','https://twitter.com/?lang=en');
    my $res = $ua->request($req);
    print $res->status_line;