Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Select Multiple values with $mech->select( $name, \@values ) in mechanize:firefox

by Matt™ (Acolyte)
on Nov 13, 2012 at 10:16 UTC ( #1003584=note: print w/ replies, xml ) Need Help??


in reply to Select Multiple values with $mech->select( $name, \@values ) in mechanize:firefox

Use 'select' instead of 'field' and it should work.

my @values = ("GB","IE","CH"); $mech->select( $name, \@values );

Hope this helps.


Comment on Re: Select Multiple values with $mech->select( $name, \@values ) in mechanize:firefox
Download Code
Re^2: Select Multiple values with $mech->select( $name, \@values ) in mechanize:firefox
by Anonymous Monk on Nov 13, 2012 at 10:18 UTC
    It was my fault, Thanks it worked.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2015-07-05 22:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (68 votes), past polls