One problem leaps out at me immediately, you aren't chomping your input lines. Sometimes you'll end up with words like "at\n" in your histogram.Nope. Try it. \n is whitespace, which is consumed by the split.
In reply to Re^2: 'Simple' comparing a hash with an array
by ysth
in thread 'Simple' comparing a hash with an array
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |