in reply to Error in Code: Need help

The [0] should be [1] in this line:$hashfreq{$toks[0]} = $freq;

Replies are listed 'Best First'.
Re^2: Error in Code: Need help
by angerusso (Novice) on Mar 29, 2012 at 00:26 UTC

    Thanks SOOOO MUCH for your reply. My last reply somehow didn't get posted. I hate myself for missing this stupid error as I am tired. Sorry about it.