Click to See Complete Forum and Search --> : Quick Perl Question - HTTP
Trogdor
02-02-2004, 06:15 PM
I'm new to perl, however I am fluent in many other programming languages. Frankly, I am interested in perl for only one reason. I have heard that perl can be used for scripting HTTP functions, like filling in forms of a web page, et al. What I'm trying to do is be able to write a perl script to go to a certain web page, fill in forms (to log me on), and go to another page via a link.
1. Is this possible?
2. If so, what functions/modules would be used?
Thanks.
scinerd
02-02-2004, 06:32 PM
I'm sure it's possible I have heard of people doing it before but I have not done it. My understanding is all you need is perl 5 and LWP. There's a book called "perl and lwp" which I have been told is good. I looked it over but never could come up with a reason to use it.
Trogdor
02-02-2004, 09:48 PM
What is LWP?
scinerd
02-02-2004, 09:55 PM
LWP is a perl module you can find it on http://www.cpan.org. If you download the source there is usually some examples on how to use it. You may also want to look at libwww which looks like it might do something like what you want again it's a perl module
homey
02-02-2004, 11:13 PM
Hey scinerd, have mercy and fix your link to
http://www.cpan.org :)
Trogdor
02-03-2004, 12:21 AM
Uhhhh . . . yeah.