Well, as the following shows delete() does not do anything like splice does on an array. Rather it is exactly the same as undefing the element in question. No reordering of the array is done as would be in splice. (In fact it was the impact of this confusion that lead to the debate about whether it should be allowed or not)
print "'$_'\n" foreach @array;
Yves / DeMerphq
Writing a good benchmark isnt as easy as it might look.