in reply to Re: Cookie Woes
in thread Cookie Woes

Mine dies at the cookie retrevial, if I say: my %cookies = fetch CGI::Cookies || die; It will die. If I go open the cookie file, everything is there.
--
paul

Replies are listed 'Best First'.
Re: Re: Re: Cookie Woes
by blakem (Monsignor) on Oct 22, 2001 at 11:03 UTC
      WOW, I wasn't familiar with that, unfortunalty for me, it still dies :(
      --
      paul
        How about testing the keys explicitly like: (untested)
        my %cookies = CGI::Cookie->fetch; die "did not fetch any cookies into \%cookies" unless (keys %cookies);

        -Blake