Nick Reinking <Nick.T.Reinking@supervalu.com> wrote:
> That's as efficient as the loop-splice example, but it
> uses more memory as it duplicates the array.
>
> Not a big deal, but it could be if you had 100k addresses
> or something. :)
You're right. It should have read:
@old = grep { $_ ne $addr } @old;