--- In perl-beginner@y..., "Greg Krieser" <greg@k...> wrote:
> Hello Everyone,
> Is it possible to submit a <form> from a script? I'd like to
submit data from a standard html form to a perl script for some data
manipulation, then I want to submit the formated data to another
server. The other server is expecting something like this.
> <FORM ACTION="https://www.domain.com" METHOD="POST">
> <INPUT TYPE="hidden" NAME="name" VALUE="value">
> <INPUT TYPE="submit" VALUE="submit">
> How can I "submit" this through a script?
For getting the info from the webpage, use the "CGI" module.
For posting info to the other site, use "LWP::Request". The
LWP::Request documentation has info on POST-ing.