Hello Monks,
I am creating a web based application (CGI) in perl in an Unix server. To catch errors I am using a '-w' and also 'use CGI::Carp qw/fatalsToBrowser/;' which successfully throws syntax errors in the browser. But sometimes, if there is an unpredictable error I am getting a blank browser. E.g. I have kept provision for catching error if DB connection fails. But if table definitions get changed (for which I dunno how to catch the error!!) I get a blank screen. Is there any way I can write a log file that logs the error where the code is failing?
Thanx,
Tamojit