Subject: | Some kinds of filehandles don't work |
I believe there is a bug relating to how file handles are used. The code expects that file handles support having methods called on them, like "$fh->getc".
Not all file handles support that. In particular, I'm using a file handle provided by the CGI.pm upload function, which is blessed into a 'Fh' class.
One solution would be to call functions on the file handles the old way, rather than as method calls. Alternately, perhaps there is a way to convert any file handle into a 'FileHandle' compatible file handle.
Thanks!
Mark