Help for this page

Select Code to Download


  1. or download this
    use LWP::UserAgent;
    use LWP::Debug qw(+);
    ...
    my $url = "https://www.hsbc.co.uk/";
    my $response = $browser->get($url);
    print $response->status_line;
    
  2. or download this
    LWP::UserAgent::new: ()
    LWP::UserAgent::proxy: ARRAY(0x224e2c) http://192.168.2.1:8118/
    ...
    LWP::Protocol::collect: read 748 bytes
    LWP::Protocol::collect: read 303 bytes
    LWP::UserAgent::request: Simple response: Bad Request