Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^5: Order in which grep/map receive elements

by greengaroo (Hermit)
on Oct 05, 2012 at 13:55 UTC ( #997479=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @array1 = @array2;
    
  2. or download this
    foreach $element ( @array2 ) {
    
      push( @array1, $element );
    }
    
  3. or download this
    foreach $element ( @array2 ) {
    
    ...
        push( @array1, $element );
      }
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://997479]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2017-02-22 01:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (322 votes). Check out past polls.