I am using slightly different approach:
I have different configuration files in development and production, so I can also have
use CGI::Carp qw(fatalsToBrowser); in development and not in production. Development environment has also set DEBUG variable on, so running the same script in development yields a lot of info about what is going on, without need to comment it out for production. Basically, I look at debug printouts as "printable comments". And valid comments never hurt, right?
pmas
To make errors is human. But to make million errors per second, you need a computer.