- Reusing an existing connection
- SEE ALSO
- COPYRIGHT (c)
HTTP::Cookies::MozRepl - retrieve cookies from a live FireFox instance
use HTTP::Cookies::MozRepl; my $cookie_jar = HTTP::Cookies::MozRepl->new(); # use just like HTTP::Cookies
This package overrides the load() and save() methods of HTTP::Cookies so it can work with a live FireFox instance.
Note: To use this module, FireFox must be running and it must have the
mozrepl extension installed.
If you already have an existing connection to FireFox that you want to reuse, just pass the MozRepl::RemoteObject instance to the cookie jar constructor in the
my $cookie_jar = HTTP::Cookies::MozRepl->new( repl => $repl );
https://developer.mozilla.org/en/nsICookieManager - nsICookieManager documentation
HTTP::Cookies - the used interface
The public repository of this module is http://github.com/Corion/www-mechanize-firefox.
Copyright 2009-2011 by Max Maischein
This module is released under the same terms as Perl itself.