in reply to Analysing text files to obtain statistics on their content.
It is great that you used code tags to surround your code, but it would be better if you did not include the body of your question in code tags.
The first thing you must do to improve your code is to get it to compile. It is good that you use strict;, but now you must declare all variables with my.
The next thing to do is to improve your code's readability by using indentation.
|
|---|