Re: CGI::Cookie Reading.

2005-03-29 Thread Randal L. Schwartz
> "Sara" == Sara <[EMAIL PROTECTED]> writes: Sara> IF the cookie already exists the script reads the value Sara> perfectly, but if cookie doesn't exist or I mean for the first Sara> time visitor, it gives error: "Can't call method "value" on an Sara> undefined value" Ahh, the classic cookie

Re: CGI::Cookie Reading.

2005-03-29 Thread Lawrence Statton
> ## READ-COOKIE.CGI ### > > #!/usr/bin/perl > use CGI; > use CGI::Cookie; > use CGI::Carp qw(fatalsToBrowser); > use strict; > use warnings; > > my %cookies =3D fetch CGI::Cookie; > my $cookies; > my $id =3D $cookies{'ID'}->value; > > IF the cooki