No such thing as a small change | |
PerlMonks |
Can't call method "click" on an undefined valueby neoanantha (Initiate) |
on Jun 01, 2008 at 03:07 UTC ( [id://689492]=perlquestion: print w/replies, xml ) | Need Help?? |
neoanantha has asked for the wisdom of the Perl Monks concerning the following question:
I have logged into my adsl modem using the following code.
the return value of print $mech->content; is as follows which means i have successfully logged into my adsl modem:
but immediately after print statement, as i pass through the $mech->click($button) statement i am getting the error Can't call method "click" on an undefined value at c:/Perl/site/lib/WWW/Mechanize.pm line 707. did lot of googling and searching perl monk as well...got the results as saying the object is not initiated...in my case $mech....but i can't see how. Please suggest me where am i doing it wrong.
Back to
Seekers of Perl Wisdom
|
|