App::ClusterSSH::Config

SYNOPSIS

DESCRIPTION

Object representing application configuration

METHODS

$host=ClusterSSH::Config−>new ({ })

Create a new configuration object.

$config−>parse_config_file(’<filename>’);

Read in configuration from given filename

$config−>validate_args();

Validate and apply all configuration loaded at this point

$path = $config−>search_dirs(’<name>’, @seaarch_directories);

Search the given directories for the name given. Return undef if not found.

$path = $config−>find_binary(’<name>’);

Locate the binary <name> and return the full path. Doesn’t just search $PATH in case the environment isn’t set up correctly

$config−>load_configs(@extra);

Load up configuration from known locations (warn if .csshrc file found) and load in option files as necessary.

$config−>write_user_config_file();

Write out default $HOME/.clusterssh/config file (before option config files are loaded).

$config−>dump()

Write currently defined configuration to STDOUT