in reply to Mechanize and Bypassing SSL Certificate Check

Here's my script:
#!/usr/bin/perl use strict; use WWW::Mechanize; my $url = 'http://www.google.com'; my $m = WWW::Mechanize->new(); print "LWP: $LWP::UserAgent::VERSION\n"; print "Mech: $WWW::Mechanize::VERSION\n"; $m->ssl_opts( verify_hostname => 0 );
Here's the output:
LWP: 5.835 Mech: 1.56 Can't locate object method "ssl_opts" via package "WWW::Mechanize" at +90.pl line 11.

Replies are listed 'Best First'.
Re^2: Mechanize and Bypassing SSL Certificate Check
by Anonymous Monk on Aug 27, 2011 at 08:28 UTC