in reply to STDERR and CGI::CARP
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
|
|---|