http://qs321.pair.com?node_id=928945


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