thelma1944 has asked for the wisdom of the Perl Monks concerning the following question:
The code:<tr><td bgcolor="#ABABAB" align="center"><b>Rename a Folder</b></td> </tr> <tr> <td bgcolor="#DCDCDC" align="center"> <form action="folders_rename_getname.php" method="post"> <tt><select name="old"> <option value="">[ Select a folder ]</option> <option value="Evaluation-Folder">Evaluation-Folder</option> <option value="Evaluation-Folder/Evaluation-Sub-Folder-1">Evaluation-F +older/Evaluation-Sub-Folder-1</option> </select></tt> <input type="submit" value="Rename" /> </form></td></tr> <tr><td bgcolor="#FFFFFF" align="left"> </td> </tr>
The error response:$n = 'old'; $mech->select( $n, "Evaluation-Folder/Evaluation-Sub-Folder-1",1); $mech->submit('Delete');
Any ideas of what i could do to access a selection?Input "old" not found at Web_Mail_Evaluation_suite.pl line 596 Can't call method "value" on an undefined value at /Library/Perl/5.8.6 +/WWW/Mechanize.pm line 1137.
Respectully yours, Thelma Vance, thelma1944@netzero.com
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: mechanize accessing a listbox
by jettero (Monsignor) on Dec 13, 2006 at 17:42 UTC | |
by thelma1944 (Novice) on Dec 14, 2006 at 00:10 UTC | |
by jettero (Monsignor) on Dec 14, 2006 at 12:29 UTC |