Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: naming anonymous subroutines inner variables

by writch (Sexton)
on Jun 22, 2016 at 21:09 UTC ( #1166310=note: print w/replies, xml ) Need Help??


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.
  • Comment on Re^2: naming anonymous subroutines inner variables

Replies are listed 'Best First'.
Re^3: naming anonymous subroutines inner variables
by BrowserUk (Patriarch) on Jun 22, 2016 at 21:15 UTC

    Not so. Look above again.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
    In the absence of evidence, opinion is indistinguishable from prejudice. Not understood.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1166310]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2022-12-02 05:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?