splice is the Perl function for removing or replacing elements in an array - it can insert, delete, or replace elements at a specified position. slice (option A) is an operation, not a function. substr is for strings, and "replace" doesn't exist as a built-in.