in reply to get the errors only for a part of the program
In stderr2.log was:use warnings; use strict; BEGIN { open(STDERR, ">stderr2.log") or die "Failed to open log file"; } print STDERR "Oops!\n"; system ('nosuchprogram'); close STDERR;
Running on 5.10.0 Windows.Oops! 'nosuchprogram' is not recognized as an internal or external command, operable program or batch file.
|
|---|