ЭЛЕКТРОННАЯ БИБЛИОТЕКА КОАПП
Сборники Художественной, Технической, Справочной, Английской, Нормативной, Исторической, и др. литературы.



Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 17.3 The HTTP ModulesChapter 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 ModulesPerl in a NutshellNext: Reference: method
17.3 The HTTP ModulesBook IndexReference: method