in reply to Re^5: Merge 2 strings like a zip [unzip()]
in thread Merge 2 strings like a zip

No worries. And, yes, your assumption is correct. Alternatives might be

print join "\n", unzip('AaBbCcDdEeFGHIJ', 5);

or the completely mad and hairy

{ local $" = "\n"; print "@{[unzip('AaBbCcDdEeFGHIJ', 5)]}"; }

which, of course, you'd never consider doing, would you? :-)

-- Ken

Replies are listed 'Best First'.
Re^7: Merge 2 strings like a zip [unzip()]
by tel2 (Pilgrim) on Jul 12, 2015 at 22:52 UTC
    Thanks Ken.

    Correct - I would not do that.  I does my head in.