in reply to Application-wide configuration

Check out Config::Loader (disclaimer: I'm the author)

You provide it with the path to the directory which contains all of your config files and sub-directories, and it will recurse through the tree, loading and merging the files for you.

This is done only once at application startup, and is easily accessible to the rest of your application:

Config::Loader will handle files containing XML, YAML, JSON, Config::General, INI or Perl. Also, it has a defined merge policy that allows you to overwrite the production configuration locally (eg for development). If you don't like the merge policy, it provides you with hooks to alter it.

Clint

Replies are listed 'Best First'.
Re^2: Application-wide configuration
by akho (Hermit) on Jul 28, 2007 at 09:55 UTC
    Wow.

    Thanks.