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

issue with print/join 2 arrays

by juanito23 (Novice)
on Apr 29, 2014 at 16:20 UTC ( [id://1084347]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @array1 = [1, 2, 3, 1, 2, 3, 1, 2, 3 ]
    
    @array2 = [blue, white, yellow, blue, white, yellow, blue, white, yell
    +ow]
    
  2. or download this
    1 2 3   blue white yellow
    1 2 3   blue white yellow
    1 2 3   blue white yellow
    
  3. or download this
    while (@array1){
    push (@array_wb, $_[0]);
    ...
    print (@array_wb);
    }
    
  4. or download this
    1 2 3   
    1 2 3   
    ...
    blue white yellow
    blue white yellow
    blue white yellow
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1084347]
Approved by toolic
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (6)
As of 2024-04-23 18:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found