20 strokes.....
sub unique { #2345678901234567890 $_{$_}++for@_;keys%_ } @unique = unique( qw( 1 2 3 4 5 1 3 5 1 3 5 ) ); print "@unique"; __DATA__ 1 2 3 4 5
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
In reply to Re: Re: Re:(GOLF) Removing duplicate array elements
by tachyon
in thread Removing duplicate array elements
by kumar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |