NAME
App::Xssh - Encapsulates the configuration for xssh - using Config::General
SYNOPSYS
use App:Xssh;
my $xssh = App:Xssh->new();
my $data = $xssh->readConfig();
$xssh->addToConfig(["location","path","setting"],"value");
$xssh->saveConfig();
METHODS
- new()
-
Construcor, just used to provide an object with access to the methods
- readConfig()
-
Reads the config file into memory, returns a hashref pointing to the config data
- addToConfig($path,$value)
-
Adds a data to the existing config data - in memory.
- saveConfig()
-
Writes the current config data back to a config file on disk. Completely overwrites the existinng file.
COPYRIGHT & LICENSE
Copyright 2010 Evan Giles.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.