In list context cookie() returns all cookies. This is one way to test if a cookie is set.use CGI; my $cgi = CGI->new(); my @cookies = $cgi->cookie(); print "cookie is set" if @cookies;
In reply to Re: Checking for cookies
by bloonix
in thread Checking for cookies
by Eagle_f90
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |