in reply to Re: removing a hash from an array of hashes
in thread removing a hash from an array of hashes

Another way to do that safely is to process the array backward:

@x = 1..10;; for my $i ( reverse 0 .. $#x ){ $x[ $i ] & 1 and splice @x, $i, 1; };; print @x;; 2 4 6 8 10

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.