http://www.perlmonks.org?node_id=580563


in reply to Re: regex and string functions help needed.
in thread regex and string functions help needed.

Corion, i used your code because i couldn't understand the replies given my holli and swamy_rio. I am able to understand your code better than mine and others. That's why i posted that. Since you advised me not to use if else constructs in my code, i didn't use that. The only solution i got is from your reply. So please forgive me if anything wrong done to you. Thanks.