... 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 reply to Re^3: regex compilation
by AnomalousMonk
in thread regex compilation
by morgon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |