> > What I'd like to be able to do is sometyhign like: > > > > else { print $res->errstr; } > > Dan > Have you seen the Oreilly Open books site. It has the "web > client programming" book online. > http://www.oreilly.com/openbook/webclient/ > > here is a snip of code from it that may help: > -- > use LWP::UserAgent; > use HTTP::Request; > use HTTP::Response; > > my $ua = new LWP::UserAgent; > > my $request = new HTTP::Request('GET', $ARGV[0]); > my $response = $ua->request($request); > if ($response->is_success) { > print $response->content; > } else { > print $response->error_as_HTML; > }
Thanks James! I'll look a bit there also. Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]