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.
In Section
Seekers of Perl Wisdom