I'm writing a script to go through and run commands on tons of Cisco switches, the command in question takes forever to finish running, we're talking 20 minutes, and I unfortunately I have to monitor it and log when the command finished processing. I'm using perl, particularly the waitfor() and print() functions of the Net::Telnet class. How can I disable the timeout once I get to the point that I would run the for-mentioned 20 minute command? Mind you I still want it to timeout initially so I know if I'm trying to connect to a bad hostname or am using the wrong credentials to authenticate.