in reply to Re^2: regex compilation
in thread regex compilation
... 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