RSSCache::Settings - Module to read and access the settings
#use at startup $RSSCache::Settings = RSSCache::Settings->new(); #use within your modules $RSSCache::Settings->set('my/setting', 'some value'); my $value = $RSSCache::Settings->get('my/setting');
Will read the RSSCache.settings file at startup and offers access to these settings.
Constructor.
Will initialize the settings store and load the settings.
Will initialize the settings store and load the settings from the specified file.
If no file is specified, this method will try to load the feil RSSCache.settings.
Returns a value from the settings.
Works similary to get() but accepts two parameters and lets you set values instead of reading them.
Works similary to get() and set() but instead of reading or writing from or to an entry you simply clear a value of a specific entry.
Returns an array containing all settings keys.
Copyright 2006 Thomas Wittek (mail at gedankenkonstrukt dot de). All rights reserved.
This document is free software. It is distributed under the same terms as Perl itself.