That is the output from Data::Dumper. You can see the cookies hash (aliased here to $VAR1) is empty. Otherwise, it might output something like:
[Thu Mar 9 12:33:53 2017] manage_users.cgi: $VAR1 = {'CGISESSID' => '1
+234deadbeef'};
For a quasi-independent test, what happens when you add the following to your code:
use CGI;
my $cgi = CGI->new;
warn $_ for $q->cookie();
and see if the CGI object has any cookies in it.
#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
|