in reply to finding the distinct elements in an array
my @a = ( 1..3, 2..3, 6, 8..9); # Extract unique elements print { @@{@a}=$,=' '; \*STDOUT} keys(%@);
|
---|
In Section
Seekers of Perl Wisdom
in reply to finding the distinct elements in an array
my @a = ( 1..3, 2..3, 6, 8..9); # Extract unique elements print { @@{@a}=$,=' '; \*STDOUT} keys(%@);
|
---|