Max Maischein > WWW-Mechanize-Firefox > HTTP::Cookies::MozRepl

Download:
WWW-Mechanize-Firefox-0.78.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  1
View/Report Bugs
Module Version: 0.78   Source  

NAME ^

HTTP::Cookies::MozRepl - retrieve cookies from a live Firefox instance

SYNOPSIS ^

  use HTTP::Cookies::MozRepl;
  my $cookie_jar = HTTP::Cookies::MozRepl->new();
  # use just like HTTP::Cookies

DESCRIPTION ^

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.

See HTTP::Cookies.

Reusing an existing connection ^

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 repl parameter:

  my $cookie_jar = HTTP::Cookies::MozRepl->new(
      repl => $repl
  );

SEE ALSO ^

https://developer.mozilla.org/en/nsICookieManager - nsICookieManager documentation

HTTP::Cookies - the interface used

REPOSITORY ^

The public repository of this module is http://github.com/Corion/www-mechanize-firefox.

AUTHOR ^

Max Maischein corion@cpan.org

COPYRIGHT (c) ^

Copyright 2009-2014 by Max Maischein corion@cpan.org.

LICENSE ^

This module is released under the same terms as Perl itself.

syntax highlighting: