Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

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 ...

Comment on Re: WWW::Mechanize select from dropdown
Select or Download Code

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: (6)
As of 2015-12-01 23:21 GMT
Find Nodes?
    Voting Booth?

    My keyboard shows this many letters:

    Results (29 votes), past polls