use CGI; my $cgi = CGI->new; warn $_ for $q->cookie();