... that $seen{$vk}++ technique.
This is the technique on which List::Util::uniq() and related functions are based. (uniq() originally appeared in List::MoreUtils, but was duplicated into the core List::Util at some point.)
Give a man a fish: <%-{-{-{-<
In reply to Re^2: Removing doubles and printing only unique values
by AnomalousMonk
in thread Removing doubles and printing only unique values
by zarath
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |