Skip Menu |

This queue is for tickets about the Bot-Jabbot CPAN distribution.

Report information
The Basics
Id: 92804
Status: new
Priority: 0/
Queue: Bot-Jabbot

People
Owner: Nobody in particular
Requestors: voss [...] gbv.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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/