Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    print "\n", $mech->text();
    print "\n" . $mech->success();
    while (my ($key, $value) = each(%INC)) { print "$key\n"; }
    
  2. or download this
    Can't connect to www.google.com:443
    
  3. or download this
    pp -x mech_test.pl
    
  4. or download this
    use strict;
    use warnings;
    ...
    my $request = HTTP::Request->new(GET => "https://www.google.com");
    my $result = $ua->request($request);
    print Dumper($result);
    
  5. or download this
    $VAR1 = bless( {
                     '_protocol' => 'HTTP/1.1',
    ...
    '_uri'}
                                          }, 'HTTP::Request' )
                   }, 'HTTP::Response' );
    
  6. or download this
    $VAR1 = bless( {
                     '_content' => 'Can\'t connect to www.google.com:443
    ...
                                            '_method' => 'GET'
                                          }, 'HTTP::Request' )
                   }, 'HTTP::Response' );