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.
|
---|
In Section
Seekers of Perl Wisdom