if ( $DEBUG ){
use CGI::Carp qw(fatalsToBrowser);
}
thinking that when I put the code into production all my debugging would dissapear with a simple $DEBUG=0; but Carp is always loaded no matter the value of $DEBUG. It took a long while for me to notice the error becuase when run in prod the conditions which would trigger a die didn't normally occur. My bad.
-- Do not seek to follow in the footsteps of the wise. Seek what they sought. -Basho
|