At 05:26 PM 2/21/02 -0800, I wrote: >At 02:00 PM 2/21/02 +1030, Daniel Falkenberg wrote: >>Hey all, >> >>Just wondering if any one know what the oposite of $response->is_success >>in the code below? I have tried $response->is_fail and >>$response->is_failure. > >Oh so close :-) > >$response->is_error > >>I have also RTFM but I can't find anywhere what >>the opposite is. > >It was in the same place as is_success: > >% perldoc HTTP::Rersponse
Oops. In case it wasn't obvious, that should have been % perldoc HTTP::Response I did cut & paste it, must have hit a key after the fact... >[snip] > $r->is_info > $r->is_success > $r->is_redirect > $r->is_error > These methods indicate if the response was > informational, sucessful, a redirection, or an error. -- Peter Scott Pacific Systems Design Technologies http://www.perldebugged.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]