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: method
 

as_string

 $

req


->as_string

Returns a text version of the request object as a string with \n placed after each line. Information about the object reference is also included in the first line. The returned string looks like this example:

-- HTTP::Request=HASH(0x68148) -- PUT http://www.ora.com/example/hi.text Content-Length: 2 Content-Type: text/plain hi ------------------


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