Verbose mode and Net::SCP::Expect

djberg96 on 2003-04-26T18:07:48

A man by the name of Martin Burgess has pointed out to me that turning on verbose output with Net::SCP::Expect causes an error. The problem, it turns out, is that the verbose output is getting picked up by Expect, which my module interprets as an error.

One solution is to set raw_pty(1), which I had originally done when I first released this program. In my experiments on different platforms, however, it caused inexplicable problems so I commented it out. The only solution I can think of is to treat verbose mode the same as a no_check, and simply add a note to the docs.

Ben Trott, save me!