Assure1::Net::Telnet Perl library¶
Description¶
Subclasses Net::Telnet to provide thread safe behavior for single threaded library.
This class should be preferred internally and by clients to directly instantiating Net::Telnet.
Synopsis¶
use Assure1::Net::Telnet;
Constructor¶
new¶
This is the constructor method for the Assure1::Net::Telnet module. There are a few variables that must be initialized in the same manner as the parent class, Net::Telnet.
Methods¶
open¶
A subroutine to override the open method from the Net::Telnet class. This implementation will use a non-blocking IO socket to communicate to the remote machine, specifically, to avoid uncatchable system interrupts/signals which occur when using Net::Telnet module inside a thread.