echo Just another Perl Hacker | perl -pe lc16 unique Characters. Assuming (from one of your later posts, that this is your general algorithm:
my $string = q{echo Just another Perl Hacker | perl -pe lc};
$string =~ s/\s+//g;
$string = lc $string;
my %chars;
map { $chars{$_} = '' } split //, $string;
print scalar keys %chars;
What do I win? ;-) In reply to RE: A challenge
by Anonymous Monk
in thread A challenge
by athomason
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |