my %counts; ++$counts{$_} for @words; for my $word (sort keys %counts) { print("$word: $counts{$word}\n"); }
In reply to Re: Identical list members are sometimes counted as different when compared to each other.
by ikegami
in thread Identical list members are sometimes counted as different when compared to each other.
by di
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |