@a = (1,2,3); splice @a, 1, 1; # replace 1 element(s) starting on position 1 by nothing print Dumper(\@a);