in reply to HTTP::Cookies with LWP::UserAgent
or you could skip writing the cookie to a file. You didn't mention that you _need_ to save the cookie for later use. If you really only need to cookie around for the life of the script, then just use RAM:my $file = "$ENV{HOME}/.netscape/cookies"; $ua->cookie_jar( HTTP::Cookies::Netscape->new( file => $file, autosave => 1, ) );
$ua->cookie_jar(new HTTP::Cookies);
Jeff
R-R-R--R-R-R--R-R-R--R-R-R--R-R-R--
L-L--L-L--L-L--L-L--L-L--L-L--L-L--
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (jeffa) Re: HTTP::Cookies with LWP::UserAgent
by dkode (Acolyte) on Jun 01, 2001 at 04:34 UTC | |
by jeffa (Bishop) on Jun 01, 2001 at 18:29 UTC | |
by dkode (Acolyte) on Jun 04, 2001 at 23:27 UTC |