Perhaps you are looking for perldoc -f splice.
In reply to Re: Deleting internal array elements by chromatic in thread Deleting internal array elements by Itatsumaki