in reply to Deleting an element from the middle of an array
Or alternatively, use splice, which will be much quicker, and also not break arrays that happen to have more than one entry with the same value ...
splice @array, $ELEMENT_NUMBER_WE_WANT_DELETED, 1;
Tony
|
|---|