http://www.perlmonks.org?node_id=257615


in reply to Re: Never
in thread Never-to-use Perl features?

At last, someone else sees the benefits of /o.

Then, the counter argument is: Use qr// which works and removes the need (most of the time) for /o...

until you combine a couple of chunks pre-compiler with qr// into another chuck with qr//. Then the /o seems (sometimes at least) to show benefits again.

I wish I could truly tie down when and why qr/.../o produces these benefits and when not.

Or is it all just a figment of my imagination.

The counter-argument that you shouldn't use /o because you might forget you'd used it sometime doesn't cut much ice with me.


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