in reply to
How do I double up elements within an array?
Map is your friend:
@doubled = map({$_, $_} @orig);
[download]
Comment on
Re: How do I double up elements within an array?
Download
Code
In Section
Seekers of Perl Wisdom