use CGI; my $q = new CGI; print $q->param('foo');