What is a good/best way to count the number of characters, words, and lines of a text file using Perl (without using wc)?
This may be helpful to Perl beginners. I tried to simulate MS word counting functionalities and added one more feature which is not shown using wc in Linux.
Here is the url: Counting words,characters and lines in a file