in reply to Bug in HTTP::Cookies?

I apologize in advance for what will be a vague, hand-wave-y sort of answer... Oh wait, no. This should be concise. I found the answer from HTTP::Cookie's POD.

My guess is that you're setting a cookie for the domain "everything2.org", where you should be setting it for ".everything2.org". I had this same problem with a script I was running, and it took me a while to find the answer :

From the pod, look at the cookie spec sheet. this is from the section marked

domain=DOMAIN_NAME
Only hosts within the specified domain can set a cookie for a domain a +nd domains must have at least two (2) or three (3) periods in them to + prevent domains of the form: ".com", ".edu", and "va.us". Any domain + that fails within one of the seven special top level domains listed +below only require two periods. Any other domain requires at least th +ree. The seven special top level domains are: "COM", "EDU", "NET", "O +RG", "GOV", "MIL", and "INT".