in reply to LWP & POST
You specify not the server name, but the full request URL as the first parameter to POST. The second parameter to POST is an anonymous array of the the request's key => value pairs. You should also know that Perl will allow barewords on the left side of the => operator, but barewords don't permit characters like "." and "/".$request = POST 'http://www.server.com/process.create', [ loc => 'AL +', cat => '4' ]; ...
MeowChow s aamecha.s a..a\u$&owag.print
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: LWP & POST
by Anonymous Monk on Feb 15, 2001 at 12:39 UTC | |
by MeowChow (Vicar) on Feb 15, 2001 at 12:45 UTC | |
by Anonymous Monk on Feb 15, 2001 at 12:50 UTC |