Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: naming anonymous subroutines inner variables

by writch (Sexton)
on Jun 22, 2016 at 21:09 UTC ( [id://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.

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?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-03-29 01:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found