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

Replies are listed 'Best First'.
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.