|
|
| Just another Perl shrine | |
| PerlMonks |
Re: Re: Removing Duplicates from an Arrayby merlyn (Sage) |
| on Sep 18, 2001 at 15:18 UTC ( [id://113137]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
I'm pretty sure you wanted grep there and not map, and you're altering %_ without warning. As others have said, look at the FAQ entry
for proper code.
-- Randal L. Schwartz, Perl hacker
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||