Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2022-11-29 02:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?