#!/usr/bin/perl -T
use strict;
use CGI qw/:standard/;
my $retrievedcookie1 = cookie('testcookie');
my $retrievedcookie2 = cookie('secondcookie');
print header,
start_html,
p("values were $retrievedcookie1 and $retrievedcookie2\n"),
end_html;
exit;