Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: WWW::Mechanize select() method fails

by WhiteBird (Hermit)
on Nov 01, 2004 at 03:06 UTC ( #404206=note: print w/replies, xml ) Need Help??

in reply to [SOLVED] WWW::Mechanize select() method fails

What version of WWW::Mechanize are you using? I have an older version and as far as I could discover the select does not work on drop down option groups. Documentation that I could find seemed to indicate that the newest version may be able to handle option groups, but I haven't upgraded my version yet so I can't verify that.
  • Comment on Re: WWW::Mechanize select() method fails

Replies are listed 'Best First'.
Re^2: WWW::Mechanize select() method fails
by Cody Pendant (Prior) on Nov 01, 2004 at 03:16 UTC
    I've got version 1.04 -- but what do you mean "option groups"? The HTML in my example isn't an option group, it's just a normal select menu. Isn't it?

    =~y~b-v~a-z~s; print
      Sorry for not being clear. By option groups, I mean the drop-down-arrow box you see on forms. You click on the arrow and a list opens up for the user to select one of several options. I never could get WWW::Mechanize to recognize that type of selection. There's some documentation out there, but I don't have it at my fingertips. I'll see if I can locate it.
Re^2: WWW::Mechanize select() method fails
by Cody Pendant (Prior) on Nov 01, 2004 at 03:41 UTC
    For the record, I've just installed the latest version, 1.05_02 but I'm having the same problem.

    =~y~b-v~a-z~s; print

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://404206]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2022-05-25 20:37 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (90 votes). Check out past polls.