http://qs321.pair.com?node_id=11116549


in reply to Re: Using a regex capture as part of a varible
in thread Using a regex capture as part of a varible

Yes, good insight. It seems I'm using the wrong tool for the job. I've toyed with lookbehinds and never found a good use case that didn't hurt my brain but this seems like the perfect one.

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