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


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

Library Navigation Links

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