I am writing some CGI scripts to use with IIS 6.0 ... This version of IIS doesn't appear to have any error logging system that displays the output of perl's warnings or dies.
So, my question is, is there a way to write to file on warnings and die? I tried something like this:
open(FILE,">>",$dieFile);
my $value = somecommand or die FILE "$!\n";
close(FILE);