Skip to content

Commit

Permalink
fixed a syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
Heng Li committed Jun 22, 2011
1 parent d48091c commit 55899a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dict/dict_v1.pl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
my (%h, $max);

while (<>) {
next if ++$h{$_} > $max;
next if (++$h{$_} > $max);
$max = $h{$_};
}

print keys %h . "\t$max\n";
print scalar(keys(%h)), "\t$max\n";

0 comments on commit 55899a1

Please sign in to comment.