use CGI::Lite; my $cgi = new CGI::Lite; my %input = $cgi->parse_form_data();