use strict; use warnings; use CGI; my $req_meth = CGI->request_method(); my %postInputs = CGI->Vars; ...