Just another Perl shrine | |
PerlMonks |
Re^2: find a string and count of its occurence in a text fileby dwu (Monk) |
on Nov 14, 2007 at 05:53 UTC ( [id://650686]=note: print w/replies, xml ) | Need Help?? |
And to chuck in an (incredibly primitive) idea for a line count as well:
Update: I'm silly; added condition for incrementing $count.
In Section
Seekers of Perl Wisdom
|
|