Padre::Config::Human - Padre configuration for personal preferences
This class implements the personal preferences of Padre's users. See Padre::Config for more information on the various types of preferences supported by Padre.
All human settings are stored in a hash as top-level keys (no hierarchy). The hash is then dumped in config.yml, a YAML file in Padre's preferences directory (see Padre::Config).
my $config = Padre::Config::Human->create;
Create and return an empty user configuration. (Almost empty, since it will still store the configuration schema revision - see "version").
No parameters.
my $config = Padre::Config::Human->read;
Load & return the user configuration from the YAML file. Return undef in case of failure.
undef
$config->write;
(Over-)write user configuration to the YAML file.
my $object = $config->clone;
Creates a cloned copy of the configuration object.
my $hash = $config->as_hash;
Creates a cloned copy of the configuration object as a plain hash reference.
Copyright 2008-2013 The Padre development team as listed in Padre.pm.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5 itself.
To install Padre, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Padre
CPAN shell
perl -MCPAN -e shell install Padre
For more information on module installation, please visit the detailed CPAN module installation guide.