start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: add_cookie_header Chapter 17
The LWP Library
Next: Reference: clear
 

as_string

 $

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.


Previous: Reference: add_cookie_header Perl in a Nutshell Next: Reference: clear
Reference: add_cookie_header Book Index Reference: clear

Library Navigation Links

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