Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Can't call method "click" on an undefined value

by Anonymous Monk
on Jun 01, 2008 at 03:36 UTC ( #689496=note: print w/replies, xml ) Need Help??


in reply to Can't call method "click" on an undefined value

Please suggest me where am i doing it wrong.

Upgrade WWW::Mechanize

  • Comment on Re: Can't call method "click" on an undefined value

Replies are listed 'Best First'.
Re^2: Can't call method "click" on an undefined value
by neoanantha (Initiate) on Jun 01, 2008 at 04:19 UTC
    upgraded to 1.34 still getting the same error:

    Can't call method "click" on an undefined value at c:/Perl/lib/WWW/Mechanize.pm line 1541.

    eventhough the click function exists in Mechanize.pm

    and changed...$mech->click($buttton) to $mech->click_button(value => $button) which resulted in the following error

    Can't call method "find_input" on an undefined value at c:/Perl/lib/WWW/Mechanize.pm line 1614.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://689496]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2021-10-17 13:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (71 votes). Check out past polls.

    Notices?