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

Re: naming anonymous subroutines inner variables

by runrig (Abbot)
on Jun 22, 2016 at 21:43 UTC ( #1166313=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for ( keys %{$self->{SQL}} ) {
      my $name = $_;
    ...
        return \@res;
      };
    }
    
  2. or download this
    my $res = $dbh->selectall_arrayref($sth, {Slice => {}}, @_);
    return $res;
    
  3. or download this
    return $sth->{Database}->selectall_arrayref($sth, {Slice => {}}, @_);
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2022-09-28 06:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (124 votes). Check out past polls.

    Notices?