Showing posts with label perl. Show all posts
Showing posts with label perl. Show all posts

Saturday, 5 March 2016

Perl Program for Counting Number of Lines, Characters and Occurances of a Word

Q: Write a Perl Program to find the number of occurrences for a given word in a text file. Also display the number of characters, words and lines in the file.