in reply to Closures clarification
$a and $b are special variables and are exempt from use strict;. But the "outer" $a is different from your inner, lexical $a.
In Section
Seekers of Perl Wisdom
in reply to Closures clarification
$a and $b are special variables and are exempt from use strict;. But the "outer" $a is different from your inner, lexical $a.