http://qs321.pair.com?node_id=552315


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(%@);