HTTP::Cookies::Safari - Cookie storage and management for Safari
use HTTP::Cookies::Safari; my $cookie_jar = HTTP::Cookies::Safari->new; $cookie_jar->load( '/Users/Buster/Library/Cookies/Cookies.plist' ); # otherwise same as HTTP::Cookies
This package overrides the
save() methods of
HTTP::Cookies so it can work with Safari cookie files.
Note: If the source Safari cookie file specifies and expiry date past the unix 32-bit epoch, this file changes the expiry date to 0xFFFFFFFF in unix seconds. That should be enough for anyone, at least to the next release.
This module is in Github:
brian d foy,
Jon Orwant pointed out the problem with dates too far in the future
COPYRIGHT AND LICENSE
Copyright (c) 2003-2011 brian d foy. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.