Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: naming anonymous subroutines inner variables

by BrowserUk (Patriarch)
on Jun 22, 2016 at 22:01 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-24 01:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found