> -----Original Message-----
> From: Quang Bui [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, September 09, 2001 2:10 AM
> To: [EMAIL PROTECTED]
> Subject: perl interact with html?
>
>
> I would appreciate any help with the following. I'm suppose go to
> a URL (http://www.xyz.com/abc.html for example) and manually enter
> some data (first name, last name for example) and submit it. That's
> it. Problem is I have a list of 100 names, but I don't want to sit
> there and enter one by one. How can I use perl to do this
> automatically? And maybe even set it to submit 1 name each minute?
> Thanks.
What you are asking is how to programmatically submit an HTTP request.
You'll want to use the LWP family of modules from CPAN for this.
Install Bundle::libwww-perl.
Then:
perldoc LWP
perldoc lwpcook (has an example of form submission)
perldoc lwp-request
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]