in reply to Re^2: DBI revived
in thread DBI revived
binmode() on closed filehandle $fh at t/85_util.t line 286. print() on closed filehandle $fh at t/85_util.t line 288. print() on closed filehandle $fh at t/85_util.t line 289. binmode() on closed filehandle $fh at t/85_util.t line 306.
I would assume that for some dark reason, the open my $fh, ">", $fnm; in line 285 fails. Most likely, because the file is still opened by another process, be it either a parallel test run or a virus scanner or something like that.
To test this theory, consider adding a ... or die "Couldn't overwrite '$fnm': $!/$^E";. If that really turns out to be the case, doing a loop for (say) 10 times to try to create the file might be a workaround, or generating a filename using File::Templ instead of using the hardcoded filename.
|
|---|