This article about read a text file and count the frequency of each word in the paragraph .First we read text file and split the paragraph using space and assign into a array (@row_elements) .for every elements in (@row_elements) , increase word count (%words_count) by one .

This program uses variables of each of three basic types: scalar, array, and hash. Scalar variables can be numbers or strings, and the language will understand how to treat the data by the context of its use. An array is a linear collection of scalar data. A hash, or associative array, is a built-in data type that will associate a "key", with a piece of data.

Google+ Badge

About Me

I’m an undergraduate for the B.Sc. Special in Computer Science at Department of Computer Science, University of Jaffna, Sri Lanka.

I’m passionate about Web Development and Programming and I go to extreme efforts to meet my passion. I’m a believer of learning the fundamentals first. I try to understand everything little bit more than the average.

My main areas of interests are Programming, Web Development and Teaching.