in reply to ranking number of occurances
compare the number of times a string occurs in a set of filesas opposed to lines in which the pattern occurred, you'll need to add to the hash's value:
$hash{$_} += $c;
for your code, or
$hash{$_} += $c if $c;
for ikegami's
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: ranking number of occurances
by ikegami (Patriarch) on Mar 16, 2008 at 23:42 UTC |