The below two line use after module install...
$SIG{__DIE__} = \&die_handler; my $err_stmt;
sub die_handler() { $err_stmt = $err_stmt . $_ foreach (@_); $err_stmt =~s/\n/ /igs; open FH,">>Error.txt"; print FH $err_stmt; close FH; }
In reply to Re: Error log
by Sathishkumar
in thread Error log
by codewalker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |