$_{$_}++ or push @_, $_ for @T;
But then I realized that a push in a loop is a grep/map:
@_ = grep { !$_{$_}++ } @T;
-- Chip Salzenberg, Free-Floating Agent of Chaos
In reply to Re: Golf and Golf
by chip
in thread Golf and Golf
by halley
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |