in reply to Re: checking for null variables
in thread checking for null variables

use CGI qw(:standard); # later... $cgi = new CGI(); map { ... } $cgi->param();
There is no reason to do both. The :standard allows you to use most of the routines in CGI as standalone functions, but you're using the "OO" style calls, which don't require the function names to be imported to your code.

In other words, do either:

use CGI; $cgi = CGI->new(); # my preference
or:
use CGI qw(:standard); map { ... } param();