http::cookies::netscape
Colin Reid (Colin@predictivedialers.com)
Thu, 28 May 1998 17:07:14 -0600
Hey lwp5-ers.
I've been using lwp for posting to forms and such and faring quite well at it,
and now I've come across a place that wants to set a cookie...simple enough,
right?
The problem is that when I try to use http::cookies::netscape I get an error:
"Can't locate auto/LWP/UserAgent/cookie_jar.al in @INC".
I'm running the binary Perl build of 5.004_02 for Win32 with lwp5.33 ....I'm not
sure if the error I'm getting is because of Win32 sucking, improper installation
of the module, or me not calling the module correctly.
Any ideas on this would be appreciated.
-- Colin Reid
P.S. Here's my chunk of code that uses the cookie thing:
----------------------------------
use HTTP::Cookies;
my $cookie_jar =
HTTP::Cookies::Netscape->new(File=>"c:\\progra~1\\Netscape\\Users\\colin\\cookie
s.txt");
$ua1 = LWP::UserAgent->new;
$ua1->cookie_jar($cookie_jar);