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


in reply to Re: (OT) Interview questions -- your response?
in thread (OT) Interview questions -- your response?

@array[0..$#array] = @array[reverse 0..$#array]; That's *not* a built-in array-reversal method.
Nor it it an "in-place" reversing method, failing the requirements of the question. You've made an entire copy of the array in a different part of memory.

-- Randal L. Schwartz, Perl hacker