in reply to Re: Assigning mapped regex to a list
in thread Assigning mapped regex to a list

Ah, of course, the qr operator actually compiles the regex so it makes sense they get their own modifiers. And I never would have figured out the || operator throwing into scalar. Perfect. Thanks so much.

$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks

Replies are listed 'Best First'.
Re^3: Assigning mapped regex to a list
by Anonymous Monk on Feb 27, 2017 at 21:08 UTC
    And thank you for not telling anyone what you are trying to do with this code.