title: Difference between /Regex/gm and m/Regex/g in perl string matching
body: <p>Is there a difference between ($ipAddrResult =~ /Regex/gm) and  ($ipAddrResult =~ m/Regex/g) in perl string matching? When I google online I get explanation for second one and not the first one. The file I tried to edit has first condition.</p>