Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: naming anonymous subroutines inner variables

by BrowserUk (Patriarch)
on Jun 22, 2016 at 22:01 UTC ( #1166317=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @names = qw[ the quick brown fox ]; 
    undef %h; 
    ...
    
    print @names;;
    fred fred fred fred
    
  2. or download this
    [0]{} Perl> 
    my @names = qw[ the quick brown fox ]; 
    ...
    fox
    brown
    quickMysterious changes
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2023-02-08 09:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (41 votes). Check out past polls.

    Notices?