But as other posters have said its much more efficient to use splice().$mit[$inde]=-1; @mit=sort @mit; shift @mit;
Yves
--
You are not ready to use symrefs unless you already know why they are bad. -- tadmc (CLPM)
In reply to Re: Re: remove element from array
by demerphq
in thread remove element from array
by Monky Python
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |