Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Missing Module HTTP::Cookies::Netscape

Status
Not open for further replies.

programingnoob

Technical User
Dec 31, 2002
71
CA
Hi,

I am having problems again. :( Okay, I got the module LWP from CPAN, and the module HTTP::Cookies::Netscape is suppose to come with it,or at least that's what I thought. I wrote a program, requesting for the module HTTP::Cookies::Netscape, and it said it was missing. I went to CPan to look for it, but I can't find a seperate download. I reinstalled LWP, but it's still mising. What should I do?

Thanks.
 
Thanks, but there isn't a place where I can download that mnodule... Also, is HTTP::Cookies::Netscape included in the LWP?
 
Here's a funny thing. Perl can include sub packages within a package class. Believe it or not you do have HTTP::Cookies::Netscape as it's part of the HTTP/Cookies.pm file. Have a look at line 731 :)

If you have problems accessing it, it might be because you need to 'use HTTP::Cookies' first.

Barbie
Leader of Birmingham Perl Mongers
 
Thanks, do you tink you can answer some of my other problems on the other threads? My script just doesn't know how to log in to a webpage :(
 
As for the HTTP::Cookies::Netscape being part of HTTP::Cookies, not any longer. Now you simply should be able to say "require HTTP::Cookies::Netscape". But you need to install ::Netscape first.

As for the cookie support in your scripts, you don't have to use ::Netscape at all. You are well off with HTTP::Cookies. ::Netscape is useful only when you want to write a script to use your Netscape's cookie files
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top