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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: naming anonymous subroutines inner variables
by BrowserUk (Patriarch) on Jun 22, 2016 at 21:15 UTC |
In Section
Seekers of Perl Wisdom