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))
That probably wanted to be :-
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
In Section
Seekers of Perl Wisdom