in reply to Testing whether a file handle is attached to STDOUT
You'd probably be better off checking that fileno( $fh ) == 1.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Testing whether a file handle is attached to STDOUT
by rovf (Priest) on Jun 16, 2011 at 10:51 UTC | |
by Corion (Patriarch) on Jun 16, 2011 at 10:55 UTC | |
by BrowserUk (Patriarch) on Jun 16, 2011 at 10:56 UTC |