Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re^2: Non-destructive array processing

by ihb (Deacon)
on Jan 22, 2003 at 19:09 UTC ( #229110=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      my @foo = 1..4;
      local *foo = ['a'..'d'];
      print @foo; # 1234
    
  2. or download this
      my @foo = 1..4;
      our @foo = 'a'..'d';
      print @foo; # abcd
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (12)
As of 2015-07-28 18:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (258 votes), past polls