I don't understand the comment
# Prevent $subref from playing with vars
which seems to refer to the lexical variable definition
my ($self, $key);
which follows it and effectively masks lexicals of the same name defined in a superior scope. Can you please explain further?
In reply to Re^2: Passing an anonymous block to a method.
by AnomalousMonk
in thread Passing an anonymous block to a method.
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |