in reply to Re: array manipulation
in thread array manipulation

I think biohisham means the index used in the offset for the splice function. But similarly,
perl -le 'my @arr = qw/1 2 3/; print "Removing ",splice(@arr,1,1), "\n +"; print join(" - ", @arr), "\n"'
Does show you that it is indeed 0-based (by default).