#first method..this attempts to just get anything out there and show it to me print $cgi->h3("First cookie retrieval method..."); my %cookies = parse CGI::Cookie($ENV{COOKIE}); foreach (keys %cookies) { print $cgi->h2("START $_ => $cookies{$_}"); } print $cgi->h3("End first method."); #second method...like the first, doesn't look for a particular cookie print $cgi->h3("Second retrieval method..."); %cookies = fetch CGI::Cookie; foreach (keys %cookies) { print $cgi->h3("START $_ => $cookies{$_}"); } print $cgi->h3("End second method"); #this was my original method...tries to get only the cookie that I set #then parses it's value to retrieve the data I wanted from it if(defined(my $cookieHolder = $cgi->cookie(-name=>'botLogin'))){ print $cgi->h3("Retrieved cookie named botLoginName: $cookieHolder"); } else{ print $cgi->h3("No cookie retrieved."); }