Net::Telnet::Wrapper::Device::TCP::HTTP
TCP::HTTP device class template.
This device class can be used to connect to HTTP servers over port 80
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
- Net::Telnet is called with Telnetmode disabled - Some custom procedures are defined
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.