Help for this page
my $sentence = 'I got a foo and a bar in me'; if ($sentence =~ /foo/gis && $sentence =~ /bar/gis) { print "I'm doing something with $sentence\n"; }