can somebody explain me the difference in outputmy $str = 'ban go ban'; my $count =()= ($str =~ /ban/g); print $count; my $count_again = ($str =~ /ban/g); print "\n$count_again";
In reply to regexp match count by ramprasad27
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |