|
|
| P is for Practical | |
| PerlMonks |
Write code using less linesby Anonymous Monk |
| on Apr 19, 2010 at 16:51 UTC ( #835544=perlquestion: print w/ replies, xml ) | Need Help?? |
|
Anonymous Monk has asked for the
wisdom of the Perl Monks concerning the following question:
Hey there monks!
I need your wisdom in order to write the following snippet of code using less lines. The purpose is to count only the letters (not the -) in the given string. My way is:
Can I do something in one-line perhaps?
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||