http://qs321.pair.com?node_id=728625


in reply to Shifting of 2D array slices

Besides the map solutions already posted, here's two others:
setup for both:
use Data::Dumper; my @bigarray = ( [ "123*jeff", "tortoise", "qwerty" ], [ "456*john", "parrot", "azerty" ], [ "789*jane", "budgie", "abcdef" ], ); print Dumper \@bigarray; # before ... print Dumper \@bigarray; # after