home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


as_string

 $

resp


->as_string
()

Returns a string version of the response with lines separated by \n . For example, this method would return a response string that looks like this:

-- HTTP::Response=HASH(0xc8548) --
RC: 200 (OK)
Message: all is fine

Content-Length: 2
Content-Type: text/plain

hi
------------------


Previous: 17.3 The HTTP Modules Perl in a Nutshell Next: Reference: base
17.3 The HTTP Modules Book Index Reference: base

Library Navigation Links

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