in reply to Re^2: Flattening out arguments to splice
in thread Flattening out arguments to splice
I haven't tested this, but I believe that in tybalt89's code (and in your OP code), because the splice is operating on a copy of the $list array reference argument, so a fourth argument LIST would be assigned to the lexical array @copy and then almost immediately lost along with that array.
Do you mean that you want your function to operate on the external referent of the $list array reference?
Give a man a fish: <%-{-{-{-<
|
|---|