in reply to Unable to flush stdout: Invalid argument

Hi bakiperl,

Based on the error message, I think this has something to do with the implicit closing of filehandles that Perl does, in this case the closing of STDOUT when Perl exits (see #57512 and 8abddda39, which was part of v5.24). Unfortunately, that's all I've got at the moment: In your scripts, apparently Perl can't flush and/or close STDOUT.

If you could boil down your code to a script that is as short as possible but still displays the problem (SSCCE), we might be able to better assist.

Regards,
-- Hauke D

  • Comment on Re: Unable to flush stdout: Invalid argument