http://www.perlmonks.org?node_id=439495

uksza has asked for the wisdom of the Perl Monks concerning the following question:

Hello wise monks,

is any better (more elegant) way to do it:
my @array = qw/one two three/; my @out; push @out,"@array\n"; #push @out, reverse @array; <-- "threetwoone" push @out, "@{[reverse @array]}"; print @out;

thanks for yours wisdom,
Lukasz