$ perl -wE'use CGI; my $cgi = CGI->new; say $cgi->param("foo")' foo=bar bar