in reply to Re: Count number of occurrences of a substr
in thread Count number of occurrences of a substr
$n = () = $str =~ /this/g;=()= is usually known as the "goatse" operator. It's one of perl's secret operators
Perl: perlintro perlretut perldoc Basic debugging checklist Yes, even you can use CPAN
PerlMonks: How do I post a question effectively? Markup in the Monastery How do I post a question effectively? I know what I mean. Why don't you?
General: How To Ask Questions The Smart Way What every computer scientist should know about floating-point arithmetic
To Be Continued...
In Section
Seekers of Perl Wisdom