Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 taking refuge in the Monastery: (12)
As of 2015-07-30 23:10 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 (273 votes), past polls