http://qs321.pair.com?node_id=948478


in reply to use of "use X"

Thanks for the suggestions folks. No luck finding a solution; am thinking it may not be possible. Although this works:

use if (1 == 1), warnings => qw(all);

am thinking that an eval on $debug *requires* the compiler, therefore compiler directives like "strict, warnings, diagnostics, etc." cannot be loaded in this manner (however, I'm often wrong). For more, see:

http://www.perlmonks.org/?node_id=323606