in reply to Re: checking for null variables
in thread checking for null variables
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.use CGI qw(:standard); # later... $cgi = new CGI(); map { ... } $cgi->param();
In other words, do either:
or:use CGI; $cgi = CGI->new(); # my preference
use CGI qw(:standard); map { ... } param();
|
|---|