Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^3: issue with print/join 2 arrays

by Not_a_Number (Prior)
on Apr 29, 2014 at 19:02 UTC ( [id://1084377]=note: print w/replies, xml ) Need Help??


in reply to Re^2: issue with print/join 2 arrays
in thread issue with print/join 2 arrays

Just adapt the solution I gave in my other post:

say join ' ', map splice( $_, 0, 3 ), \@array1, \@array2 while @array1 or @array2;

If you need to access your original arrays later, make copies and destroy these instead.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-04-20 01:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found