in reply to Re^8: problem regarding the value given in the select box
in thread problem regarding the value given in the select box
You don't tell us which version of WWW::Mechanize you have installed. You could find out the version by running:
perl -MWWW::Mechanize -e "die WWW::Mechanize->VERSION"
The most common cause for this is that you did not set the proper form in your script. I notice a commented out line
#$mech->form_id('form');
Maybe using the correct form helps. Or maybe there is no form on your page. I think at least version 1.73 of WWW::Mechanize outputs a proper warning instead of crashing the program.
|
|---|