reading default configuration parameters from file and overriding these parameter values on command lineby spikkie (Novice)
|on Mar 30, 2011 at 15:59 UTC||Need Help??|
spikkie has asked for the
wisdom of the Perl Monks concerning the following question:
I have the following question:
I'm working on a program that will read default configuration parameters from a file, additionally the program should have the possibilty to overwrite these parameters. (from command line)
Do I have to combine for example a YAML cfg file (writing to a hash) and use the package Getopt::Long functionality overwriting these hash values? Or are there any packages which combine this functionality?
Kindest regards, Bas