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