laziness, impatience, and hubris | |
PerlMonks |
Re^3: splice help - deleting specific elementby mpeever (Friar) |
on Oct 17, 2008 at 20:43 UTC ( [id://717854]=note: print w/replies, xml ) | Need Help?? |
While not $_ eq $co isn't incorrect, I rather write $_ ne $co. I like yours better too. About duplicates: I assume whacking dups is actually what was intended based on the problem description, but I thought it would be worthwhile to mention that side-effect.
In Section
Seekers of Perl Wisdom
|
|