my %f;
for (@array) {
$f{$_}++;
}
That doesn't work if you are interested in substrings or array elements.
In reply to Re: Word frequency in an array
by moritz
in thread Word frequency in an array
by monkeybus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |