in reply to STDERR and CGI::CARP

If you disable CGI::Carp all messages will go to your server-logs.

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