strict.pm contains about a dozen lines of executable code, none of which does anything particularly expensive. Is there some reason you consider that tiny bit of code a big enough deal to try to eliminate? It seems like micro-optimization to me, something unlikely to be worth doing.
But your problem is easy to solve:
BEGIN { strict->import( ... ) if $INC{"strict.pm"} }
- tye
In reply to Re: evil code of the day: global stricture control (micro)
by tye
in thread evil code of the day: global stricture control
by ysth
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |