Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Using a regex capture as part of a varible

by nysus (Parson)
on May 07, 2020 at 15:20 UTC ( #11116549=note: print w/replies, xml ) Need Help??


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

  • Comment on Re^2: Using a regex capture as part of a varible

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11116549]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2022-05-22 22:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (81 votes). Check out past polls.

    Notices?