2) @array[0..$#array] = @array[reverse 0..$#array]; That's *not* a built-in array-reversal method.
Well, technically, doesn't 0..$#array create an (anonymous) array, which reverse then reverses? :)
bbfu
Black flowers blossum
Fearless on my breath
Teardrops on the fire
Fearless on my breath
In reply to Re: Re: (OT) Interview questions -- your response?
by bbfu
in thread (OT) Interview questions -- your response?
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |