Name
as_string
Synopsis
$cjar
->as_string([discard
])
Returns the current contents of the cookie jar
as a string. Each cookie is output as a Set-Cookie3 header
line followed by “0”. If discard
is
given and is true, cookies marked to be discarded will not be
output. Set-Cookie3 is a special LWP format used to store
cookie information in the save file.
Get Perl in a Nutshell, 2nd Edition 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.