in reply to Re^3: How to duplicate every member of an array -- oneliner
in thread How to duplicate every member of an array

But why not a simple one-liner:

Win8 Strawberry 5.8.9.5 (32) Thu 07/28/2022 8:22:01 C:\@Work\Perl\monks >perl -MData::Dump -e "my @m = map { ($_) x 2 } @ARGV; dd \@m" a b + c ["a", "a", "b", "b", "c", "c"]


Give a man a fish:  <%-{-{-{-<