I can't find where I read it, but I believe $Net::SFTP::Foreign::debug is a bitmask, so -1 (equivalent to all ones in binary*) is saying "show me everything".
* for 2's compliment based systems
In reply to Re^3: debugging Net::Sftp::Foreign using ssh2
by Anonymous Monk
in thread debugging Net::Sftp::Foreign using ssh2
by sdetweil
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |