Reference: code (Perl in a Nutshell)

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: baseChapter 17
The LWP Library
Next: Reference: current_age
 

code

 $resp->code ([code])

When invoked without any parameters, this method returns the object's response code. Sets the status code of the object when invoked with an argument.


Previous: Reference: basePerl in a NutshellNext: Reference: current_age
Reference: baseBook IndexReference: current_age

Library Navigation Links

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