in reply to How to get a local form to be 'clicked'?
What you really want then, is send a HTTP request (GET or POST) that will send the data from the form to an URL on the web. And I wouldn't use HTML::Form for this kind of thing. (except when the html form is changing a lot - but then you probably wouldn't have it on your local filesystem).
The simplest way is probably
Collect all the data in the local form (you can probably just hard-code this in your script) and do a
This will send a GET request with the parameters encoded in the URL. Note that you will have to escape special characters in urlencoding. You might use the URI module for that.use LWP::Simple; getprint "http://www.someurl.org/scriptname?param1=value1¶m2=value +2"
See also
perldoc LWP::Simple perldoc URI
-- Joost downtime n. The period during which a system is error-free and immune from user input.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: How to get a local form to be 'clicked'?
by Anonymous Monk on Jun 06, 2002 at 08:10 UTC | |
by Joost (Canon) on Jun 06, 2002 at 08:40 UTC | |
by Anonymous Monk on Jun 06, 2002 at 08:43 UTC |