![]() |
|
The stupid question is the question not asked | |
PerlMonks |
Re^2: What is this doing, and why is this a good method of doing it?by japhy (Canon) |
on Jul 25, 2005 at 02:11 UTC ( #477654=note: print w/replies, xml ) | Need Help?? |
Because at compile-time, when Perl has parsed the no strict 'refs' part, it realizes it was inside a *{...} construct, the inside of which can be a block or an expression. Since it expects it to have been an expression, the use of no raises a compile-time error. To force Perl to realize the interior is a block, the ; is added to the beginning.
In Section
Obfuscated Code
|
|