Help for this page
use strict; use warnings; ... if ($string =~ m{bar}g) { print "bar\n"; }
bar bar
bar foo bar