in reply to Job specific Configuration, Inherit from Client Configuration
Does that seem like a reasonable interface to have to deal with? Makes me start thinking of the other missing for me in Config::Simple, namely Config::Simple::Heredoc, or am I making this less simple than it really ought to be? Or worse yet, reinventing a wheel needlessly?=head1 SYNOPSIS my $installation_cfg = Config::Simple->new( file => '/etc/app_name/app +_name.ini' ); my $client_cfg = Config::Simple::Inherit->new( base_config => $installation_cfg, file => '/etc/app_name/client_name/app_name.ini', ); my $job_cfg = Config::Simple::Inherit->new( base_config => $client_cfg, file => '/etc/app_name/client_name/app_job_id.ini', ); =cut
Thoughts?
-- Hugh Esco
|
|---|