in reply to Re: difference between 'if (condition) { expression;}' and 'expression if (condition)'
in thread difference between 'if (condition) { expression;}' and 'expression if (condition)'
The two bracets make up an extra namespace
I would avoid calling this a "namespace". The brackets in this example are creating a lexical scope. When someone says "namespace" in Perl, they almost always mean a package.
|
|---|