3 ms·Easy enough with Perl arrays using push and shift.by mansr 16y agoEasy enough with Perl arrays using push and shift.Vivtek 16y agoWith the added bonus that Perl makes it obvious you're talking about an array.