Name
as_string
Synopsis
$req
->as_string
Description
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 ------------------
Get Perl in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.