in reply to Re^2: Strange compiler behavior with map?
in thread Strange compiler behavior with map?
And many thanks for the second idiom, now that's a real nice solution. I think I've seen it before but somehow it didn't registered until now. I need to remember it the next time.
The FAQ remembers the FAQ for you :)
grep{!$seen{$_}++} site:perldoc.perl.org ► How can I remove duplicate elements from a list or array?
The other Anonymous monk
|
|---|