Skip Menu |
 

This queue is for tickets about the App-Rad CPAN distribution.

Report information
The Basics
Id: 55943
Status: new
Priority: 0/
Queue: App-Rad

People
Owner: Nobody in particular
Requestors: notbenh [...] cpan.org
Cc:
AdminCc:

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



Subject: request for a reset_config
Download (untitled) / with headers
text/plain 473b
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~


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.