Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Re: Re^2: Never (qr//)by BrowserUk (Patriarch) |
on May 14, 2003 at 10:32 UTC ( [id://258020]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Meditations
|
|