Howdy All,

Sorry for leaving the suubject out previously!

With LWP or LWP::UserAgent I can check if the request 
was ok and then print the content if it was like so:

if ($res->is_success) {
      print $res->content;
}

But I havn't found a way to see what the error is if it fails. So I have to just :  
else { print "IT failed, do it right nect time loser"; }

What I'd like to be able to do is sometyhign like:

else { print $res->errstr; }

Does such a beast exist in LWP and I just missed it or ???


TIA

Dan

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to