use CGI; my $cgi = CGI->new; print $cgi->param('sid');