Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: WWW::Mechanize select from dropdown

by davidrw (Prior)
on Apr 20, 2007 at 23:27 UTC ( [id://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("https://www.site.com/forums/cs/dispatch.cgi/_admin/diskUsa +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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2024-04-24 03:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found