|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Count similar characters in a rowby $new_guy (Acolyte) |
| on Oct 06, 2010 at 15:08 UTC ( #863806=perlquestion: print w/ replies, xml ) | Need Help?? |
|
$new_guy has asked for the
wisdom of the Perl Monks concerning the following question:
Dear Monks,
I would like to count all the r's in the rows (row by row) then print to screen only the number of rows that have r's on all columns (i.e. 3 in this case). How do I do this. My script below doesn't seem to work well. Thanks script:
my file:
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||