On Thu, Jan 20, 2000 at 04:17:16PM +1100, Shao Zhang wrote:
> Hi,
>       I am setting up a system where I can automatically submit all
>       the info to a FORM for registering a new domain name using perl
>       scripts.
> 
>       I use the following in my perl script and it works with most of the 
> forms:
> 
>       echo "domain=hello.world.org.au&action=submit" | lynx -dump -post_data 
> "aunic.telstra.net/cgi-bin/td.pl"
> 
>       But this will fail when there needs multi part FORM submission
>       which is happened when applying for .net.au domains, the form is
>       available at:
> 
>       https://registry.connect.com.au/cgi-bin/na_create.cgi
> 
>       Can anyone please help me with automating the submission of this
>       FROM??
> 
>       Thanks.
> 
> Shao.

Install libwww-perl and take a look at the man page for
HTTP::Request::Common.  It can do all you require, and a lot more
efficiently than starting up a shell and lynx.

Any problems, post back to the list.  HTH.

-- 
Regards,
Paul

Reply via email to