http://www.perlmonks.org?node_id=589825


in reply to My preferred way of handling config data in Perl is:

We use Gantry::Conf more and more. All conf files go in /etc/gantry.d. They are instance tagged, so all an app or script needs to know is the instance name. Pass that to the retrieve method and presto all your conf in a lovely hash. It even handles location specific conf to mimic PerlSetVars from Apache conf. The instances can easily share common conf in several ways. The conf file format is up to you, but we use Config::General's format.

Phil

  • Comment on Re: My preferred way of handling config data in Perl is: