Welcome to the Monastery | |
PerlMonks |
Re: What is wrong in this code???by Lotus1 (Vicar) |
on Dec 07, 2012 at 22:01 UTC ( [id://1007830]=note: print w/replies, xml ) | Need Help?? |
tr/// can be used to count characters in a string. No need to loop through.
Output:
In Section
Seekers of Perl Wisdom
|
|