in reply to use CGI qw(:standard) vs. use CGI
You're almost right. One nitpick: when you use CGI qw':standard', you're actually importing the set of functions and variable tagged as 'standard' in the CGI module. So you aren't importing one function, but a collection of them.
The piece of a use statement you express as qw(:standard) is the list of items to import into your namespace. Items in the list that begin with a colon (':') are "tags" and represent groups of items to import.
Yoda would agree with Perl design: there is no try{}
|
|---|