Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: issue with print/join 2 arrays

by BrowserUk (Patriarch)
on Apr 29, 2014 at 16:33 UTC ( [id://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.

Log In?
Username:
Password:

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

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

    No recent polls found