Dear all,
I just had a look at the script here: http://www.perlmonks.org/?node_id=1023430.
In the Perl script, all Perl classes are wrapped in a code block.
Why?
I'd guess it's to make sure that the scopes don't mix. But isn't this already done by using another name space?
Thanks all
In reply to Why to wrap Perl classes inside a Perl script into blocks by capfan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |