in reply to
Reversing an array. Subroutine.
That should indeed work.
@rev = reverse @a
might be better and/or faster... no comment. But your function appears to work to me. Show me the code where it doesn't work and I may have additional guesses.
-Paul
Comment on
Re: Reversing an array. Subroutine.
Download
Code
In Section
Seekers of Perl Wisdom