$_ = "abffdeabggfrabhhjuab"; my $matches =()= m/ab/g; print $matches; # 4