Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: revertChapter 17
The LWP Library
Next: Reference: set_cookie
 

save

 $cjar->save( [file] )

Saves the state of the cookie jar to the file specified during construction (by default) or to the named file. The cookies are saved in a special LWP format as Set-Cookie3 header lines. This format is not compatible with the standard Set-Cookie and Set-Cookie2 headers, but you are not likely to use this file to set new cookies in response headers.


Previous: Reference: revertPerl in a NutshellNext: Reference: set_cookie
Reference: revertBook IndexReference: set_cookie

Library Navigation Links

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