On Sat, 15 Nov 2003, allan juul wrote: > On Saturday, Nov 15, 2003, at 16:36 Europe/Copenhagen, John J Lee wrote: [...] > > How did you kill the process? If you kill -kill it in Unix, then Perl > > won't have a chance to run the code to save your cookies. > > > > If you shut down your program normally, do the cookies get persisted > > OK? > > no - sorry,i didn't mean kill in that unix sense - i close the program > with an exit or die or nothing more to do, then restart the program a > bit later and at that point i have gotten a completely new cookie.
I don't know what the problem is. Try sticking a print statement in the DESTROY method of HTTP::Cookies to check it's actually getting called, and trace things through save(), as_string() to figure out what's going wrong. John