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
[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]

Reply via email to