YAML::ConfigFile - easily read configuration files in YAML format
use YAML::ConfigFile; my $c = YAML::ConfigFile->new($filename);
YAML is a format for data serialization which also happens to be useful for configuration files. This module reads in a config file, strips blank lines and comments (lines starting with #), and deserializes the remaining lines, and returns a hashref of the data.
YAML itself has not yet been released on CPAN; you'll have to get a tarball from Ingy or someone.
Kirrily Robert <skud@cpan.org>
YAML::ConfigFile (c) 2001 Kirrily Robert <skud@cpan.org> This software is distributed under the same licenses as Perl itself.
YAML
To install YAML::ConfigFile, copy and paste the appropriate command in to your terminal.
cpanm
cpanm YAML::ConfigFile
CPAN shell
perl -MCPAN -e shell install YAML::ConfigFile
For more information on module installation, please visit the detailed CPAN module installation guide.