d6c27972_Perl_5_by_Example__Functions_Table_5_2_Array_Functions_Description
[Function] splice(ARRAY1, OFFSET, LENGTH, ARRAY2) [Description] 
Replaces elements of ARRAY1 with elements in ARRAY2. It returns a list holding any elements that were removed. Remember that the $[ variable may change the base array subscript when determining the OFFSET value.
Perl 5 by Example: Functions
Description