programming-examples/perl/CGI/Read cookie value.pl
2019-11-15 12:59:38 +01:00

17 lines
186 B
Perl

#!c:/perl/bin
use CGI;
$q1 = new CGI;
print $q1->header;
$cookie1 = $q1->cookie('FIRST_NAME');
if($cookie1)
{
print $cookie1;
}
else
{
print "No such Cookie!";
}