Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Re: Deleting elements from array questionsby sauoq (Abbot) |
on Aug 08, 2002 at 18:25 UTC ( [id://188683]=note: print w/replies, xml ) | Need Help?? |
If you want to remove the elements from the array entirely, grep is the way [Emphasis added] Well, grep is one way (and probably the one that will work best for the original question.) But splice is also a perfectly good way to remove elements from an array. -sauoq "My two cents aren't worth a dime.";
In Section
Seekers of Perl Wisdom
|
|