my @a = ( 1..3, 2..3, 6, 8..9); # Extract unique elements print { @@{@a}=$,=' '; \*STDOUT} keys(%@);
In reply to Re: finding the distinct elements in an array
by ioannis
in thread finding the distinct elements in an array
by beginr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |