1Padre::Config::Host(3)User Contributed Perl DocumentationPadre::Config::Host(3)
2
3
4
6 Padre::Config::Host - Padre configuration storing host state data
7
9 This class implements the state data of the host on which Padre is
10 running. See Padre::Config for more information on the various types
11 of preferences supported by Padre.
12
13 All those state data are stored in a database managed with "Padre::DB".
14 Refer to this module for more information on how this works.
15
17 Constructors
18 read
19 my $config = Padre::Config::Host->read;
20
21 Load & return the host configuration from the database. Return
22 "undef" in case of failure.
23
24 No parameters.
25
26 Object methods
27 version
28 my $revision = $config->version;
29
30 Return the configuration schema revision. Indeed, we might want to
31 change the underlying storage later on.
32
33 No parameters.
34
35 write
36 $config->write;
37
38 (Over-)write host configuration to the database.
39
40 No parameters.
41
43 Copyright 2008-2011 The Padre development team as listed in Padre.pm.
44
45 This program is free software; you can redistribute it and/or modify it
46 under the same terms as Perl 5 itself.
47
48
49
50perl v5.32.0 2020-07-28 Padre::Config::Host(3)