go ahead... be a heretic | |
PerlMonks |
Re: Remove Duplicates!! Please Helpby kirillm (Friar) |
on Jan 03, 2008 at 15:37 UTC ( [id://660217]=note: print w/replies, xml ) | Need Help?? |
A one-liner:
Update: The OP needed the last entry if there are duplicates, the above solution took the first entry. Here's an alternative solutionthat requires module Tie::Hash::Indexed to be installed:
In Section
Seekers of Perl Wisdom
|
|