Think about Loose Coupling | |
PerlMonks |
Re^2: Remove Duplicates!! Please Helpby NetWallah (Canon) |
on Jan 03, 2008 at 16:16 UTC ( [id://660238]=note: print w/replies, xml ) | Need Help?? |
Marginally less overhead if the data is sorted:
Also, the OP's code handles the boundary condition for the first record, but not the last. "As you get older three things happen. The first is your memory goes, and I can't remember the other two... " - Sir Norman Wisdom
In Section
Seekers of Perl Wisdom
|
|