Subject: | request for a reset_config |
I am building up an app that requires config to be modified while
running, the current system stores off config, and then load just
appends to it. This is causing me to have to break in to $c and reset
_config:
$c->(_config) = {};
It would be nice if I didn't have to hack in to $c to reset the config.
Ideally I would love to have something like :
sub reset_config {
my $c = shift;
$c->{_config} = {} ;
$c->load_config(@_)
if scalar(@_);
}
--
benh~