summaryrefslogtreecommitdiff
path: root/sample/occur.pl
diff options
context:
space:
mode:
Diffstat (limited to 'sample/occur.pl')
-rw-r--r--sample/occur.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/sample/occur.pl b/sample/occur.pl
index 1f5fcf2..331ce50 100644
--- a/sample/occur.pl
+++ b/sample/occur.pl
@@ -1,9 +1,9 @@
while (<>) {
- for (split(/\W+/)) {
- $freq{$_}++;
- }
+ for (split(/\W+/)) {
+ $freq{$_}++;
+ }
}
for (sort keys %freq) {
- print "$_ -- $freq{$_}\n";
+ print "$_ -- $freq{$_}\n";
}