in reply to evil code of the day: global stricture control
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: evil code of the day: global stricture control (micro)
by ysth (Canon) on Aug 02, 2007 at 08:20 UTC |