in reply to Best practice or cargo cult?
How hard would it be to write a pragma to do this? Or does one already exist? I'm thinking something like...
Could be a nifty way of anticipating the Coming of Perl 6. Whenever that'll be...use warnings; use strict; use PBP::xsm; =~ /xsm is on/; =~ /(?-x)(?-s)m is on, x and s if off/; #or whatever the appropriate s +yntax for switching off regex options... ??
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Best practice or cargo cult?
by TheDamian (Vicar) on Jun 21, 2006 at 12:49 UTC | |
by Jim (Curate) on Jun 21, 2006 at 16:18 UTC | |
by Jim (Curate) on Jun 21, 2006 at 16:39 UTC |
In Section
Seekers of Perl Wisdom