The stupid question is the question not asked | |
PerlMonks |
Re^2: naming anonymous subroutines inner variablesby writch (Sexton) |
on Jun 22, 2016 at 21:09 UTC ( [id://1166310]=note: print w/replies, xml ) | Need Help?? |
Same as the 'my $k' example.
I have a line in the anonymous subroutine that says:
$self->{$closure}->execute(@_);
and now it's $closure that's undefined instead of $_ or $k.
In Section
Seekers of Perl Wisdom
|
|