Net::Telnet::Wrapper::Device::Unix::General
Unix::General device class template.
This device class can be used to connect any Unix server with default prompts. This is the same when using Net::Telnet with default parameters.
Do not call this module directly.
Following device class specific procedures are defined. All commands can also be executed using the default cmd() command which is inherited from Net::Telnet.
This procedure connects to an HTTP server on port 80 and tries to get an url. To avoid hanging sessions etc. a GET is done with HTTP version 1.0
Return value is everything that HTTP GET returns
CONNECT LOGIN
- close method overrides default method
Maarten Wallraf <perl@2nms.com>
To install Net::Telnet::Wrapper, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Telnet::Wrapper
CPAN shell
perl -MCPAN -e shell install Net::Telnet::Wrapper
For more information on module installation, please visit the detailed CPAN module installation guide.