You can make this decision based on a dedicated $ENV{PRODUCTION} variable or $ENV{HOST} eq "name of production".
See use if in use
edit : more in pragma if
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re: STDERR and CGI::CARP
by LanX
in thread STDERR and CGI::CARP
by Schmunzie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |