in reply to Re: How does one redirect STDERR to a file? ((Filehandle
in thread How does one redirect STDERR to a file? ((Filehandle, redirection, logging))
Note the >> and the or die.BEGIN { open(STDERR, ">>stderr.log") or die "Failed to open log file"; }
You could do this with a tied file handle too, as demonstrated recently by tilly - here
|
---|