in reply to script to detect spaces

Hello renuka,

Welcome to the Monastery. I am really impressed that you put your self through all of this effort writing this question instead of simple search Google.

Let me Google that for you!

After that you will find that 50% of the work is in the answer, then Google again combine and solve :).

Hope this helps, BR

Seeking for Perl wisdom...on the process of learning...not there...yet!