"be consistent" | |
PerlMonks |
Re^5: lsearch for perl?by ikegami (Patriarch) |
on Dec 05, 2005 at 19:44 UTC ( [id://514216]=note: print w/replies, xml ) | Need Help?? |
I'm pretty sure undef uses less mem, and it's probably a bit faster, but ++ allows you to check which items had duplicates. undef @unique{@list}; is actually fastest.
In Section
Seekers of Perl Wisdom
|
|