@array = qw/v w x y z/; for(0 .. $#array) { $slide = shift(@array); push(@array1, $slide); } print @array1;