The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::Telnet::Wrapper::Device::Unix::General

DESCRIPTION

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.

DEVICE CLASS SPECIFIC PROCEDURES

Following device class specific procedures are defined. All commands can also be executed using the default cmd() command which is inherited from Net::Telnet.

test_url url

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

SUPPORTED MODES

    CONNECT
    LOGIN

SPECIFICS

    - close method overrides default method

AUTHOR

Maarten Wallraf <perl@2nms.com>