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
In reply to Re: Deleting an element from the middle of an array
by salvadors
in thread Deleting an element from the middle of an array
by Intaglio
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |