in reply to Crashing Cookie Code

You have:
my %hash = $cookies{'ID'}->value;
which I don't find in the CGI documentation, which says:
%hash = cookie('ID');