Functional style (auto generates your own config class) ------------------------------------------------------- # On startup use Config::Loader('My::Config' => '/path/to/config'); # Then, in any module where you want to use the config package My::Module; use My::Config; @hosts = C('db.hosts.sesssion'); -------------------------------------------------------