Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: naming anonymous subroutines inner variables

by BrowserUk (Patriarch)
on Jun 22, 2016 at 21:03 UTC ( [id://1166306]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for (keys %{$self->{SQL}}) {
        my $closure = $_;
    ...
                                return \@res;
                                };  
    }
    
  2. or download this
    undef %h; 
    for( qw[ the quick brown fox ] ){ 
    ...
    joe
    joe
    joe
    
  3. or download this
    undef %h; 
    for( qw[ the quick brown fox ] ){ 
    ...
    fox
    brown
    quick
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2024-04-18 02:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found