in reply to Re^4: Getting Cookies
in thread Getting Cookies

Have you read WWW::Mechanize::Firefox and HTTP::Cookies::MozRepl?

What makes you think that HTTP::Cookies would work together with WWW::Mechanize::Firefox and/or that WWW::Mechanize::Firefox would use a cookie jar outside of Firefox?

Replies are listed 'Best First'.
Re^6: Getting Cookies
by PerlSufi (Friar) on Jul 05, 2013 at 17:43 UTC
    Thanks for your response, Corion. It was silly of me to presume.
    I tried the following code with Mechanize::Firefox and won't work to save cookies:
    my $cookie_jar = HTTP::Cookies::MozRepl->new( file => 'C:\path\to\cook +ies.dat', autosave => 1, ignore_discard => 1);
        I didn't. I just presumed again because it said I can use like HTTP::Cookies :\