in, to be uncommented during development of the module and recommented for release.#use strict;
I immediately thought of this:
This enables a global stricture setting; use strict unqualified at the beginning of your main program and you automatically get it turned on in all scopes specifying the above line. Then you just have to use strict in your tests and you get automatic strictures during development - but not in production if strict hasn't been already loaded.use if $INC{"strict.pm"}, "strict";
Unfortunately, this requires loading the if module...I sometimes regret that Ilya's original use foo if bar syntax wasn't implemented.
|
|---|