use 5.014;
use WWW::Mechanize;
my $mech = WWW::Mechanize;
say $mech->uri();
gives:
Can't call method "request" on an undefined value at /opt/perl-5.14/lib/site_perl/5.14.2/WWW/Mechanize.pm
uri() should probably just return null if no request has been performed, like other methods (such as content()).
WWW::Mechanize version 1.72.
– Michael
michael....@gmail.com reported on Mar 25, 2012
Details
Imported from Google Code issue 233 via archive