in reply to How to detect I/O redirection on Win32

fileno Update: it's what the documentation seemed to be saying, but isn't.

Caution: Contents may have been coded under pressure.
  • Comment on Re: How to detect I/O redirection on Win32

Replies are listed 'Best First'.
Re^2: How to detect I/O redirection on Win32
by ikegami (Patriarch) on Sep 10, 2007 at 16:32 UTC
    Nope
    >perl -le"print fileno(STDOUT); print fileno(STDERR);" 2>&1 1 2