Subject: | Can't locate "form" |
Date: | Tue, 20 Mar 2007 13:36:45 +0100 |
To: | <bug-WWW-Mechanize-Shell [...] rt.cpan.org> |
From: | "Tommy Mikalsen" <tommy.mikalsen [...] qxl.no> |
Running 6.2-RELEASE
This is perl, v5.8.8 built for i386-freebsd-64int
Mechanize v. 0.40 installed via ports.
Mechanize::FormFiller 0.06 has been installed via ports.
Error when running this command:
perl -MWWW::Mechanize::Shell -eshell
(no url)>get http://qxl.no
Retrieving http://cpan.org(200) <http://cpan.org(200)/>
Can't locate object method "form" via package "WWW::Mechanize" at
/usr/local/lib/perl5/site_perl/5.8.8/WWW/Mechanize/Shell.pm line 514.
The code in Shell.pm is this:
sub activate_first_form { $_[0]->agent->form(1) if $_[0]->agent->forms
and scalar @{$_[0]->agent->forms}; };
Regards,
Tommy Mikalsen