Reputation: 36451
Currently I'm storing configuration as default values in respective objects. But this is very hard to maintain, because the configuration is split into thousand pieces.
Is there some commonly used approach to store and retrieve per-class configuration in Perl?
Upvotes: 1
Views: 133
Reputation: 2316
There isn't really a One True Configuration Format in Perl. YAML, INI files, a simple name=value list, or a custom XML schema are all in common use. Better to just pick one and run with it than stewing about it.
Upvotes: 1