Šimon Tóth
Šimon Tóth

Reputation: 36451

Managing configuration in Perl

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

Answers (1)

frezik
frezik

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

Related Questions