or download this
Filehandle INFO opened only for input at ...
(W io) You tried to write on a read-only filehandle. If you inten
+ded
it to be a read-write filehandle, you needed to open it with "+<"
+or
"+>" or "+>>" instead of with "<" or nothing. If you intended onl
+y to
write the file, use ">" or ">>". See perlfunc/open.