in reply to Re: Re^2: Never (qr//)
in thread Never-to-use Perl features?

There is also the problem with using the =~ $qr form that you cannot use it if you need to apply the /g option.

Nor if you have a regex that you sometimes want to use with capturing and sometimes without.

Nor can you use it in substitutions.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller