in reply to (Regex Quiz) Multi-line Matching

You need to use an octal (or hex) code for the line feed character for it to work. I used the octal, like so:
if ($string =~ /foo\012bar/m)
Had to consult the perlre.

$PM = "Perl Monk's";
$MCF = "Most Clueless Friar";
$nysus = $PM . $MCF;