Craig, you are wanting to write a script that goes out and surfs the
internet like a user would, right?  Or are you wanting to actually write
html documents with your script?

        If you are wanting the former, LWP is the best way to go, in my
opinion.  HTTP::Request::Common provides a few subs that make it easier as
well.... for example:

use LWP::UserAgent;
use HTTP::Request::Common;


my $ua = LWP::UserAgent->new; #create a useragent
my $response = $ua->request(GET('http://www.perl.org'));
 #get that page and store a Response object in $response

print $response->content; $prints out the document


        To interact with forms, you'll have to find out where the form
submits to, and actually GET or POST to that location with your input in the
query string (or actually in the request, if POSTing...)
        That should give you a start... If I am assuming incorrectly, please
ignore me.

Reply via email to