Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: WWW::Mechanize select from dropdown

by davidrw (Prior)
on Apr 20, 2007 at 23:27 UTC ( #611240=note: print w/replies, xml ) Need Help??

in reply to WWW::Mechanize select from dropdown

not sure what the issue is, but maybe try WWW::Mechanize's submit_form method instead?
my $mech = WWW::Mechanize->new(); $mech->get(" +geForm"); $mech->submit_form( form_name => 'CFO', fields => { pforumClass => '__all__', tforumClass => '__all__', uforumClass => '__all__', }, );
Also maybe see if the output from mech-dump gives you any extra information ...

And also do a die $mech->content; after the ->get() to make sure it's really the page you expect it is ...

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://611240]
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: (4)
As of 2016-10-22 08:29 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (294 votes). Check out past polls.