The code you show looks fine. You haven't told us enough. Do you get the warning for the grep line? Can you show us the code that deletes the "array element"?
Makeshifts last the longest.
In reply to Re: Using grep to remove array element from HoAoH leaving empty array-hash element
by Aristotle
in thread Using grep to remove array element from HoAoH leaving empty array-hash element
by Popcorn Dave
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |