NAME

Padre::Config::Host - Padre configuration storing host state data

DESCRIPTION

This class implements the state data of the host on which Padre is running. See Padre::Config for more information on the various types of preferences supported by Padre.

All those state data are stored in a database managed with Padre::DB. Refer to this module for more information on how this works.

PUBLIC API

Constructors

my $config = Padre::Config::Host->read;

Load & return the host configuration from the database. Return undef in case of failure.

No params.

Object methods

my $revision = $config->version;

Return the config schema revision. Indeed, we might want to change the underlying storage later on.

No params.

$config->write;

(Over-)write host configuration to the database.

No params.

COPYRIGHT & LICENSE

Copyright 2008-2009 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.