Yes, you're correct.
A third form of usage is: use CGI(); With that you have the OO conventions, but no attempt is made to obtain form data.
In the OO form it's advisable to call new with my $q = CGI->new();, rather than the indirect object call you show. That is a general technique to prevent some hard-to-find bugs where namespaces are flying about.
After Compline,
Zaxo
In reply to Re: use CGI qw(:standard) vs. use CGI
by Zaxo
in thread use CGI qw(:standard) vs. use CGI
by awohld
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |