NAME

Rex

DESCRIPTION

This is the main Package.

SYNOPSIS

Rex->is_ssh()
Rex->get_current_connection()

CLASS METHODS

get_current_connection

Returns the current connection as a hashRef.

server

The server name

ssh

1 if it is a ssh connection, 0 if not.

is_ssh

Returns 1 if the current connection is a ssh connection. 0 if not.