Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

by ikegami (Pope)
on Jun 01, 2008 at 21:07 UTC ( #689596=note: print w/replies, xml ) Need Help??


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

In short, it sounds like you have three problems, one of which hasn't been mentioned yet.

  • There's no FORM element, and it sounds like WWW::Mechanize needs one. That's not even valid HTML.
  • ->click($bttn_val) should probably be ->click_button(value => $bttn_val)
  • WWW::Mechanize can't process JavaScript.

Log In?
Username:
Password:

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

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







    Results (71 votes). Check out past polls.

    Notices?