![]() |
|
Welcome to the Monastery | |
PerlMonks |
Re: removing duplicates entries from an arrayby VSarkiss (Monsignor) |
on Jan 06, 2006 at 17:05 UTC ( #521544=note: print w/replies, xml ) | Need Help?? |
The immediate problem is that your RDup routine is returning a new array that you're not saving. IOW do something like this: There are a lot of ways you can improve removing duplicates, though, and there are several suggestions in the Perl FAQ list. Try perldoc -q duplicate on your machine for some suggestions.
In Section
Seekers of Perl Wisdom
|
|