Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: issue with print/join 2 arrays

by BrowserUk (Pope)
on Apr 29, 2014 at 16:33 UTC ( #1084349=note: print w/ replies, xml ) Need Help??


in reply to issue with print/join 2 arrays

@array1 = ( 1, 2, 3, 1, 2, 3, 1, 2, 3 );; @array2 = qw[blue white yellow blue white yellow blue white yellow];; print join "\t", @array1[ $_ .. $_+2 ], @array2[ $_ .. $_+2 ] for map +$_*3, 0 .. ( $#array1 / 3 );; 1 2 3 blue white yellow 1 2 3 blue white yellow 1 2 3 blue white yellow

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.


Comment on Re: issue with print/join 2 arrays
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2014-07-26 15:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (178 votes), past polls