i use Net::Telnet to connect to a server and run tests for several hours. the script will normally die in various places in the script, apparently due to losing connection to the server.
i found in the documentation about changing Net::Telnet's Errmode to 'return' so it will return to the script; what i haven't found yet is where i can read Errmode's value so the script will know to re-establish connectivity and continue testing. the error message is "write error: filehandle isn't open" which appears to be a Net::Telnet-specific message. i don't have the output in front of me but if i remember correctly, it happens when i print ($t->print("...")) to the telnet connection. any help on how to read Net::Telnet's Errmode status to know the connection has died would be greatly appreciated. thanks, joe -- since this is a gmail account, please verify the mailing list is included in the reply to addresses -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>