brian d foy > HTTP-Cookies-Safari > HTTP::Cookies::Safari

Download:
HTTP-Cookies-Safari-1.15.tar.gz

Dependencies

Annotate this POD

Related Modules

HTTP::Cookies
LWP::UserAgent
CGI::Session
more...
By perlmonks.org
View/Report Bugs
Module Version: 1.15   Source  

NAME ^

HTTP::Cookies::Safari - Cookie storage and management for Safari

SYNOPSIS ^

        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

DESCRIPTION ^

This package overrides the load() and 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.

See HTTP::Cookies.

SOURCE AVAILABILITY ^

This module is in Github:

        http://github.com/briandfoy/HTTP-Cookies-Safari

AUTHOR ^

brian d foy, <bdfoy@cpan.org>

CREDITS ^

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.

syntax highlighting: