use CGI; my $input = new CGI; my @var = $input->param('var');