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
In reply to Re^3: Strange compiler behavior with map?
by Anonymous Monk
in thread Strange compiler behavior with map?
by dwalin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |