2 lines
79 B
Perl
2 lines
79 B
Perl
my %hash = map { $_ => 1 } qw(1 2 3 a b c 2 3 4 b c d);
|
|
my @uniq = keys %hash;
|
my %hash = map { $_ => 1 } qw(1 2 3 a b c 2 3 4 b c d);
|
|
my @uniq = keys %hash;
|