in reply to How do I double up elements within an array?

If order doesn't matter you can simply:

@array1 = (@array1, @array1);

Perl reduces RSI - it saves typing

Replies are listed 'Best First'.
Re^2: How do I double up elements within an array?
by jdporter (Paladin) on Aug 06, 2008 at 00:43 UTC