However, I am getting the following error message:
/root/.mozilla/default/75qdae8t.slt/cookies.txt does not look like a
netscape cookies file at usr/lib/perl5/vendor_perl/5.8.0/HTTP/Cookies.pm
line 746, <FILE> line 1.
The header lines of the cookies.txt file are:
# HTTP Cookie File
# http://www.netscape.com/newsref/std/cookie_spec.html
# This is a generated file! Do not edit.
# To delete cookies, use the Cookie Manager.
and are followed by a list of cookies.
Does anyone have an idea what I am doing wrong?
Thanks
Tim
If it's a Mozilla cookie file, you should use HTTP::Cookies::Mozilla.[1]
> However, I am getting the following error message:
>
> /root/.mozilla/default/75qdae8t.slt/cookies.txt does not look like a
> netscape cookies file at
> usr/lib/perl5/vendor_perl/5.8.0/HTTP/Cookies.pm line 746, <FILE> line
> 1.
>
> The header lines of the cookies.txt file are:
>
> # HTTP Cookie File
And a Netscape cookie file starts with
# Netscape HTTP Cookie File
HTTP::Cookies::Netscape looks for that magic line.
Ciao,
Harald
[1]
http://search.cpan.org/author/BDFOY/HTTP-Cookies-Mozilla-1.03/lib/Mozilla.pm
--
Harald H.-J. Bongartz <bon...@gmx.net>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
++$sheep while !$asleep;
Harald,
Thanks very much. I will give it a try.
Tim