in reply to Re^10: Win32: Setting a layer with binmode causes problem with close() on Windows (PerlIO silently fails to close the file)
in thread Win32: Setting a layer with binmode causes problem with close() on Windows

If you close those before launching your async process via system 1, ..., then it will not cause the server to block.

:) yes, I'm aware that is common, and I had close ... and it didn't work

  • Comment on Re^11: Win32: Setting a layer with binmode causes problem with close() on Windows (PerlIO silently fails to close the file)

Replies are listed 'Best First'.
Re^12: Win32: Setting a layer with binmode causes problem with close() on Windows (PerlIO silently fails to close the file)
by BrowserUk (Patriarch) on Jun 17, 2013 at 15:02 UTC
    I had close ... and it didn't work

    Hm. Try:

    use POSIX qw[ close ]; ... POSIX::close( $_ ) for 0 .. 255;

    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
    font size=1