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.orgHow can I remove duplicate elements from a list or array?

FAQy FAQ is FAQ :D

The other Anonymous monk

  • Comment on Re^3: Strange compiler behavior with map?