in reply to reading default configuration parameters from file and overriding these parameter values on 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?
Nope, you could also combine Config::General and do your own command line processing. Or do everything yourself. There are many ways to skin a cat in Perl!

I'd combine Config::General with Getopt::Long, but that's just because I know both modules.

  • Comment on Re: reading default configuration parameters from file and overriding these parameter values on command line