Rechercher une page de manuel
Padre::Config::Host.3pm
Langue: en
Version: 2009-03-29 (fedora - 06/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
Padre::Config::Host - Padre configuration storing host state dataDESCRIPTION
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.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre