|Perl Monk, Perl Meditation|
Re^3: Reading through a file and checking for a specific stringby 2teez (Priest)
|on Aug 19, 2013 at 21:52 UTC||Need Help??|
Yes, you have, but there are still some there.
Then instead of these
you are writing @counts[$i] ...
@counts[$i]++.. Which in this case is not correct.
If I may give you a head up ( it might not be the best suited for you but it might point you in a right direction ).
I have a few text file in a directory, and am reading each file to see how many times some certain words were used like this:
If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me