Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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?
[Discipulus]: from txt to array, from array to polemic, from polemic to flame?
[Corion]: Discipulus++ # profound insight
[Corion]: :-D
[Discipulus]: the very same topic was discussed in CB yesterday at lunch time
[Discipulus]: or can I ask for a module to do the back conversion from flame to txt?

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (12)
As of 2017-06-23 08:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (537 votes). Check out past polls.