splice ARRAY,OFFSET,LENGTH,LIST
You forgot the fourth argument: 'LIST'.
my ($list, $offset, $length, @list) = @_;
In reply to Re^2: Flattening out arguments to splice
by jwkrahn
in thread Flattening out arguments to splice
by Oberon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |