Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: fresh_untilChapter 17
The LWP Library
Next: Reference: is_fresh
 

is_error

 $resp->is_error()

Returns true when the response code is 400 through 599. When an error occurs, you might want to use error_as_HTML to generate an HTML explanation of the error.


Previous: Reference: fresh_untilPerl in a NutshellNext: Reference: is_fresh
Reference: fresh_untilBook IndexReference: is_fresh

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.