Subject: | Support for IO::Handle objects in 2nd parameter of get() and xget() |
The Net::FTP module supports IO::Handle objects as 2nd parameter in the get() method, but the Net::FTPSSL doesn't. This is because Net::FTPSSL checks for a ref and if the ref is a GLOB. The latter check isn't necessary, and if commented out, then Net::FTPSSL works fine. You could choose to either comment the GLOB check out or add an ISA IO::Handle check as well.
The IO::Handle objects I use are IO::Compress::Gzip to save to gzipped files.
I suspect that the same issue exists when using DebugLogFile but I haven't tried that yet.
Thanks