Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Single file oriented for different usageby dragonchild (Archbishop) |
on Feb 26, 2008 at 17:04 UTC ( [id://670326]=note: print w/replies, xml ) | Need Help?? |
If using a single file is causing you headaches, then don't use a single file.
In my projects, we solve that problem by having two config files. One is the main one, one has $USER-specific overrides. So, when you run the app, the main config file is loaded, then, if one exists, the $USER-specific one is loaded and overrides anything it needs to override. My criteria for good software:
In Section
Seekers of Perl Wisdom
|
|