hesco has asked for the wisdom of the Perl Monks concerning the following question:
Is there some elegant, intuitive and simple way to accomplish this task? Am I talking about writing a whole new module: Config::Simple::Inherit to get the job done? Are there other tools out there better suited for this task (which hopefully won't require major surgery on an application which has recently been put into service)?
Any and all advice is appreciated.
-- Hugh Esco
UPDATE:
Man this turned out to be far easier than I feared it might be, at least to accomodate my simple needs. The results are now published on CPAN, as Config::Simple::Inherit. Along the way I learned some more about how absolutely elegant Sherzod B. Ruzmetov's work is. Mr. Ruzmetov: If you're out there and you see any value in this and would like to pick up this new ->inherit() method and include it in core, I certainly feel no need to get territorial about who gets to maintain those 20 or 30 lines of code and its associated documentation. Its available here if you want it: Config-Simple-Inherit-0.03.tar.gz
-- Hugh
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Job specific Configuration, Inherit from Client Configuration
by hesco (Deacon) on Jun 01, 2008 at 17:42 UTC | |
|
Re: Job specific Configuration, Inherit from Client Configuration
by dragonchild (Archbishop) on Jun 01, 2008 at 20:54 UTC | |
|
Re: Job specific Configuration, Inherit from Client Configuration
by hesco (Deacon) on Jun 05, 2008 at 02:02 UTC |