more useful options | |
PerlMonks |
Re^3: 'g' flag with 'qr' (different commands) (updated)by AnomalousMonk (Archbishop) |
on May 30, 2016 at 04:01 UTC ( [id://1164480]=note: print w/replies, xml ) | Need Help?? |
I find it unfortunate ... Sometimes life's like that.
So far, you've only advocated the utility and desirability of code like I think you need to consider the implications of the cases raised by haukex here. These (and I'm sure many other) cases would need to be given defined behaviors. Surely, you do not intend the qr//g feature to apply only to the $string =~ $regex case? If so, this feature would seem to fall squarely into the "some developer's personal 'pet feature'" category. Give a man a fish: <%-{-{-{-<
In Section
Seekers of Perl Wisdom
|
|