Subject: | More flexible configuration |
Date: | Fri, 7 Feb 2014 13:36:37 +0100 |
To: | <bug-Bot-Jabbot [...] rt.cpan.org> |
From: | Jakob Voß <voss [...] gbv.de> |
First use Config::Any instead of Config::Any::YML to support more config
file formats. Second, support passing a hash reference to the
constructor with config values.
I'd further move initialisation from constructor to an 'init' method, so
configuration can be separated from initalisation, for instance to
modify configuration during livetime of the bot.
--
Jakob Voß <jakob.voss@gbv.de>
Verbundzentrale des GBV (VZG) / Common Library Network
Platz der Goettinger Sieben 1, 37073 Göttingen, Germany
+49 (0)551 39-10242, http://www.gbv.de/