more useful options | |
PerlMonks |
Re: how to rm an element from an array?by jdporter (Paladin) |
on Oct 28, 2002 at 17:53 UTC ( [id://208562]=note: print w/replies, xml ) | Need Help?? |
Unless you have bigger plans for that yoink(), I'd scrap it altogether and just use straight, natural, intrinsic perl.
Start with IO's solution. Then you can extend the pattern-matching part as needed. And avoid the obfuscation of intent caused by using yoink().
In Section
Seekers of Perl Wisdom
|
|