in reply to Re: naming anonymous subroutines inner variables
in thread naming anonymous subroutines inner variables
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