App::Xssh::Config - Encapsulates the configuration for xssh - using Config::General
use App::Xssh::Config; my $config = App::Xssh::Config->new(); my $data = $config->read(); $config->add(["location","path","setting"],"value"); print $config->show(); $config->write();
Construcor, just used to provide an object with access to the methods
Reads the config file into memory, returns a hashref pointing to the config data
Adds a data to the existing config data - in memory.
An arrayref to the location of the atrribute to be stored.
A string to be stored at that location.
Deletes data from the existing config data - in memory.
An arrayref to the location of the atrribute to be deleted.
Wanders through the config data, and returns a string to describe the data hierachy
Writes the current config data back to a config file on disk. Completely overwrites the existinng file.
Copyright 2010-2011 Evan Giles.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install App::Xssh, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Xssh
CPAN shell
perl -MCPAN -e shell install App::Xssh
For more information on module installation, please visit the detailed CPAN module installation guide.