in reply to
die vs. print in CGI
Why not just use
CGI::Carp
?
use CGI::Carp 'fatalsToBrowser';
[download]
Now, all errors will be sent to the browser in a platform independent way (provided the platform has the module).
jeffa
Comment on
(jeffa) Re: die vs. print in CGI
Download
Code
In Section
Seekers of Perl Wisdom