Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: using LWP to POST multiple name/value pairs

by nite_man (Deacon)
on Mar 08, 2006 at 12:54 UTC ( [id://535158]=note: print w/replies, xml ) Need Help??


in reply to using LWP to POST multiple name/value pairs

If you need to submit some form from Perl script there is a better way to do it - use module WWW::Mechanize:
use WWW::Mechanize; my $mech = WWW::Mechanize->new(); $mech->submit_form( form_number => 3, fields => { username => 'mungo', password => 'lost-and-alone', } );

---
Michael Stepanov aka nite_man

It's only my opinion and it doesn't have pretensions of absoluteness!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2024-04-19 20:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found