Filehandle %s opened only for output
March 22nd, 2009
Description:
Message> Filehandle %s opened only for output
Description:
Message> Filehandle %s opened only for output
Perl "opened only for output", filehandle "opened only for output", perl "filehandle opened only for output", perl "opened only for output"
(W io) You tried to read from a filehandle opened only for writing,
If you intended it to be a read/write filehandle, you needed to open it
with “+< " or "+>” or “+>>” instead of with “< " or
nothing. If you intended only to read from the file, use "<". See “open” in perlfunc.
Another possibility is that you attempted to open filedescriptor 0
(also known as STDIN) for output (maybe you closed STDIN earlier?).