splice @{$vips{$k}{'stack'}}, 0, -50; #### $ perldoc -f splice . . . If LENGTH is negative, leaves that many elements off the end of the array.