in reply to turn off strict for production code
Others have suggested using the if pragma. If you prefer to avoid installing anything new, try:
eval 'use strict' if ($condition);
Update: As halley points out, this won't work for pragmas, such as strict, only for modules.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: turn off strict for production code
by halley (Prior) on Sep 12, 2005 at 16:10 UTC |
In Section
Seekers of Perl Wisdom