At 02:11 AM 6/10/02 -0700, Cynic wrote: >I have been playing around with HTTP::Request and HTTP::Headers, trying to >build a small client browser application, but I have been confused >miserably from reading CPAN's modules documentation. > >Can anyone point me to actual practical examples of a small client browser >in Perl, using HTTP::Request and it's family?
Well this may not go all the way towards creating a whole browser, but this is the sort of thing I can type in my sleep by now: use LWP::UserAgent; use HTTP::Request::Common; my $ua = LWP::UserAgent->new; # Want to track cookies? $ua->cookie_jar(...) my $res = $ua->request(GET 'http://use.perl.org'); $res->is_error and die $res->message; # Use $res->content ... -- Peter Scott Pacific Systems Design Technologies http://www.perldebugged.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]