|
|
| "be consistent" | |
| PerlMonks |
Re: searching charactersby citromatik (Curate) |
| on Jun 17, 2009 at 14:40 UTC ( #772416=note: print w/ replies, xml ) | Need Help?? |
|
You can use the tr operator: return 0 if (($line =~ tr/$base/$base/) >= $limit);citromatik
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||