good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: How do I completely remove an element from an array?by Monkomatic (Sexton) |
on Oct 27, 2010 at 23:47 UTC ( [id://867868]=note: print w/replies, xml ) | Need Help?? |
You can use delete, as in:
but note the warning: Calling delete on array values is deprecated and likely to be removed in a future version of Perl.
In Section
Seekers of Perl Wisdom
|
|