in reply to Re: What's the idiom for finding and removing the found @ARRAY element?
in thread What's the idiom for finding and removing the found @ARRAY element?

You can. Unfortunately, all it seems to do is set the element to undef unless it also happens to be the last (highest) element in the array, in which case it does also remove it and reduces the overall size of the array.

If it is any element other than the last, the array stays the same size, and the rest of the elements retain their previous indices.


Nah! You're thinking of Simon Templar, originally played (on UKTV) by Roger Moore and later by Ian Ogilvy
  • Comment on Re: Re: What's the idiom for finding and removing the found @ARRAY element?