start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 17.3 The HTTP Modules Chapter 17
The LWP Library
Next: Reference: base
 

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.