( a, aba, replacement1, repalcement2, replacement3, aca, bbb, abc) #### splice(@array, $i, 1, func($array[$i]);