in reply to Array Splicing: Need Help!
perldoc -f splice splice ARRAY,OFFSET,LENGTH Removes the elements designated by OFFSET and LENGTH from an array, and replaces them with the elements of LIST, if any. [download]