Name
as_string
Synopsis
$resp
->as_string()
Description
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 ------------------
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.