in reply to Re^5: Feature Idea: qr//e
in thread Feature Idea: qr//e (updated with solutions)
++choroba
You're quite right: not a good tweak when it's not 100% applicable.
Of course, you could still write:
but that's probably just adding insult to injury.my $regex = qre{ join '|', qw/foo bar/ }m =>;
And, yes, I was indeed caught out by this because I no longer even think about the m or s modifiers.
Especially now that I can add a standard:
at the top of every Perl file. ;-)use re '/xms';
Damian
|
---|
In Section
Seekers of Perl Wisdom