![]() |
|
more useful options | |
PerlMonks |
Re^3: regex compilationby AnomalousMonk (Archbishop) |
on Feb 12, 2019 at 18:25 UTC ( #1229834=note: print w/replies, xml ) | Need Help?? |
... string that behaves just as the compiled regex ... That's what qr// is for; see perlop. The Regexp object returned by qr// is almost a string; it interpolates as a string in m// s/// qr// expressions or when print-ed or string interpolated. It is not, however, the same as what is produced by the qq// q// operators. Give a man a fish: <%-{-{-{-<
In Section
Seekers of Perl Wisdom
|
|