- or download this
use strict;
use warnings;
...
print "\n", $mech->text();
print "\n" . $mech->success();
while (my ($key, $value) = each(%INC)) { print "$key\n"; }
- or download this
Can't connect to www.google.com:443
- or download this
pp -x mech_test.pl
- 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);
- or download this
$VAR1 = bless( {
'_protocol' => 'HTTP/1.1',
...
'_uri'}
}, 'HTTP::Request' )
}, 'HTTP::Response' );
- or download this
$VAR1 = bless( {
'_content' => 'Can\'t connect to www.google.com:443
...
'_method' => 'GET'
}, 'HTTP::Request' )
}, 'HTTP::Response' );