Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Mechanize select with "id" or "class" other than "name".

by Corion (Pope)
on Nov 12, 2012 at 09:39 UTC ( #1003394=note: print w/ replies, xml ) Need Help??


in reply to Mechanize select with "id" or "class" other than "name".

->select uses HTML::Form->find_input, so you should be able to specify an id by using a # prefix:

$mech->select('#keyword-country-option', 'Canada');


Comment on Re: Mechanize select with "id" or "class" other than "name".
Select or Download Code
Re^2: Mechanize select with "id" or "class" other than "name".
by Anonymous Monk on Nov 12, 2012 at 10:31 UTC

    Thank you...

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2014-08-22 05:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (147 votes), past polls