Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: naming anonymous subroutines inner variables

by BrowserUk (Patriarch)
on Jun 22, 2016 at 21:03 UTC ( #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? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2022-12-04 20:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?