in reply to CGI: How to retrieve one specific cookie?

use CGI;, you'll be a lot better off and will have more hair on your head at the end of the day.

use CGI; my $query = new CGI; my $cookie_data = $query->cookie('Cookie Name');

Check out The CGI Docs for more information on this.

Sarah