in reply to
Shifting an Array
In general, to compare the speed of two chunks of code, you could use
Benchmark
. See
this thread
.
Comment on
Re: Shifting an Array
In Section
Seekers of Perl Wisdom