Cody Pendant has asked for the wisdom of the Perl Monks concerning the following question:
The form is being selected OK, and the select menu code looks like this:
<select name="filter1" class="mttextinput"> <option value="" selected></option> <option value="Login Name">Login Name</option> <option value="Subject">Subject</option> <option value="Post">Post</option> </select>
And I'm telling WWW::Mechanize to
$mech->select('filter1', 'Post') || die "$!";
and it dies. With nothing in $!, or in @messages, which it seems to suggest should contain the error message.
Am I missing something? Using the select method correctly? I've been staring at this so long and I'm stumped. Any ideas, anyone?
($_='kkvvttuubbooppuuiiffssqqffssmmiibbddllffss')
=~y~b-v~a-z~s; print
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: WWW::Mechanize select() method fails
by Cody Pendant (Prior) on Nov 01, 2004 at 04:42 UTC | |
by Corion (Patriarch) on Nov 01, 2004 at 08:10 UTC | |
by Cody Pendant (Prior) on Nov 01, 2004 at 23:12 UTC | |
by petdance (Parson) on Nov 06, 2004 at 07:56 UTC | |
by perrin (Chancellor) on Nov 01, 2004 at 20:15 UTC | |
|
Re: WWW::Mechanize select() method fails
by perrin (Chancellor) on Nov 01, 2004 at 04:33 UTC | |
|
Re: WWW::Mechanize select() method fails
by WhiteBird (Hermit) on Nov 01, 2004 at 03:06 UTC | |
by Cody Pendant (Prior) on Nov 01, 2004 at 03:16 UTC | |
by WhiteBird (Hermit) on Nov 01, 2004 at 03:48 UTC | |
by Cody Pendant (Prior) on Nov 01, 2004 at 03:41 UTC |