my @list2 = sort keys %{ { map { $_ => 1 } @list1 } };
(Not sure if this is what you had in mind, and if it's the right level of difficulty. Specify if not.)
In reply to Re: Perl Puzzles
by smls
in thread Perl Puzzles
by vyeddula
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |