Subject: | Config::Auto - couple of suggested enhancements |
Date: | Thu, 09 Apr 2009 16:25:07 +0100 |
To: | kane [...] cpan.org |
From: | Robbie Bow <jos [...] dwim.org> |
Hi Jos
Long time listener, first time caller here. As a fan of Config::Auto,
I have a couple of suggestions, viz:
1. Use YAML::Any instead of YAML for, erm, YAML configs. Might change
the behaviour as different flavours do do some slightly different
things (untainting data from files for example), but there will be
speed improvements if any Syck or XS are available.
2. Reload config files after X time. Most probably this is out of
scope, but being able to check config files every 5 minutes and, if
they've changed, reload the config, would save a lot of system
restarts, IMO. As I say, probably out of scope, but something I think
could be useful, even if it's via an extension or wrapper around C::A
Anyhow, with my tuppence worth delivered, if you think either idea
has legs I could have a stab at implementing them and pass you the
results.
Cheers
Robbie