X
xhoster
I got a warning of
Filehandle STDOUT reopened as $fh only for input...
On which perldiag expands thus:
Filehandle %s reopened as %s only for input
(W io) You opened for reading a filehandle that got
the same filehandle id as STDOUT or STDERR. This
occured because you closed STDOUT or STDERR previ-
ously.
Right, I did close STDOUT previously. But so what? This sounds more
like an amusing anecdote than a warning. Is something bad likely to happen
because of this confluence of file descriptors? If so, under what
circumstances? If not, then why is this a warning?
Thanks,
Xho
Filehandle STDOUT reopened as $fh only for input...
On which perldiag expands thus:
Filehandle %s reopened as %s only for input
(W io) You opened for reading a filehandle that got
the same filehandle id as STDOUT or STDERR. This
occured because you closed STDOUT or STDERR previ-
ously.
Right, I did close STDOUT previously. But so what? This sounds more
like an amusing anecdote than a warning. Is something bad likely to happen
because of this confluence of file descriptors? If so, under what
circumstances? If not, then why is this a warning?
Thanks,
Xho