Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Submit a form using perl module

by ikegami (Patriarch)
on Jul 04, 2005 at 21:43 UTC ( [id://472309]=note: print w/replies, xml ) Need Help??


in reply to Re: Submit a form using perl module
in thread Submit a form using perl module

The user places the request using LWP (LWP::UserAgent, even) rather than HTTP::Request, as shown in the following example:

use HTTP::Request::Common; $ua = LWP::UserAgent->new; $ua->request(POST 'http://example.com/survey.cgi', [ name => 'Gisle Aas', email => 'gisle@aas.no', gender => 'M', born => '1964', perc => '3%', ]);

HTTP::Request could have been used instead of HTTP::Request::Common.

Log In?
Username:
Password:

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

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

    No recent polls found