1Padre::Config::Human(3)User Contributed Perl DocumentatioPnadre::Config::Human(3)
2
3
4
6 Padre::Config::Human - Padre configuration storing personal preferences
7
9 This class implements the personal preferences of Padre's users. See
10 Padre::Config for more information on the various types of preferences
11 supported by Padre.
12
13 All human settings are stored in a hash as top-level keys (no
14 hierarchy). The hash is then dumped in config.yml, a YAML file in
15 Padre's preferences directory (see Padre::Config).
16
18 Constructors
19 create
20 my $config = Padre::Config::Human->create;
21
22 Create and return an empty user configuration. (Almost empty, since
23 it will still store the configuration schema revision - see
24 "version").
25
26 No parameters.
27
28 read
29 my $config = Padre::Config::Human->read;
30
31 Load & return the user configuration from the YAML file. Return
32 "undef" in case of failure.
33
34 No parameters.
35
36 Object methods
37 version
38 my $revision = $config->version;
39
40 Return the configuration schema revision. Indeed, we might want to
41 have more structured configuration instead of a plain hash later
42 on. Note that this version is stored with the other user
43 preferences at the same level.
44
45 No parameters.
46
47 write
48 $config->write;
49
50 (Over-)write user configuration to the YAML file.
51
52 No parameters.
53
55 Copyright 2008-2011 The Padre development team as listed in Padre.pm.
56
57 This program is free software; you can redistribute it and/or modify it
58 under the same terms as Perl 5 itself.
59
60
61
62perl v5.32.0 2020-07-28 Padre::Config::Human(3)