Config::PP - lightweight configuration file manager that uses Pure Perl to serialize.
use Config::PP; # exports config_set() and config_get() config_set "example.com", { email => 'foo@example.com' password => 'barbaz' }; print Dumper config_get "example.com";
Config::PP is lightweight configuration file manager that uses Pure Perl to serialize.
config_set() and config_get() throw exception on error.
config_set()
config_get()
Saves configuration file into "$Config::PP::DIR/$namespace.pl".
"$Config::PP::DIR/$namespace.pl"
Loads configuration from "$Config::PP::DIR/$namespace.pl".
$Config::PP::DIR
Default directory is "$ENV{HOME}/.ppconfig".
"$ENV{HOME}/.ppconfig"
You can configure the path to save configuration file.
punytan <punytan@gmail.com>
Config::Pit
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Config::PP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Config::PP
CPAN shell
perl -MCPAN -e shell install Config::PP
For more information on module installation, please visit the detailed CPAN module installation guide.