$n = () = $str =~ /this/g;=()= is usually known as the "goatse" operator. It's one of perl's secret operators
In reply to Re^2: Count number of occurrences of a substr
by FunkyMonk
in thread Count number of occurrences of a substr
by Jerbear217
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |