ManaTools::SettingsReader - This module allows to load an XML configuration file
use ManaTools::SettingsReader;
my $settings = new ManaTools::SettingsReader({filNema => $fileName});
This module allows to load a configuration file returning a Hash references with its content.
You can find documentation for this module with the perldoc command:
perldoc ManaTools::SettingsReader
XML::Simple
Angelo Naselli <anaselli@linux.it>
Copyright (C) 2012-2016, Angelo Naselli.
This file is part of ManaTools
ManaTools is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
ManaTools is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with ManaTools. If not, see <http://www.gnu.org/licenses/>.
hash ref containing
fileName: settings configuration file name
OUTPUT attributes
settings: Hash reference containing read settings
DESCRIPTION
The constructor just loads the given file and return its representation
into a hash reference.