cormanaz has asked for the wisdom of the Perl Monks concerning the following question:
But when I run this I get error Can't locate object method "click_button" via package "WWW::Mechanize"use WWW::Mechanize; my $mech = WWW::Mechanize->new(); my $url = 'http://locks.asu.edu/rdltest.htm'; $mech->get($url); my $inputobject = $mech->current_form()->find_input('dl.start',undef,1 +); my $response = $mech->click_button(input => $inputobject);
I have tried it with argument value => 'SERVER1' also and it's the same error. What am I doing wrong?
Thx...Steve
(btw, a successful click won't do anything; just testing the click function so far)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: WWW::Mechanize click_button method not found
by bradenshep (Beadle) on Nov 11, 2006 at 02:40 UTC | |
by cormanaz (Deacon) on Nov 13, 2006 at 17:49 UTC |