btubby has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

I have an application that reads it's configuration from local disk via the Config::General module.

I want to move this config into an Oracle database.

Short of re-designing the way the app reads it's config what is the best way to achieve this? Does Config::General have a database adaptor? Does anyone have any experience with this?

  • Comment on Moving Config::General application config into Oracle

Replies are listed 'Best First'.
Re: Moving Config::General application config into Oracle
by almut (Canon) on Oct 19, 2009 at 09:48 UTC

    In case the idea is to simply store the entire config as a BLOB (or CLOB), you could use DBI to retrieve it, and then use Config::General's -String option to the constructor (and likewise the method save_string() for storing a modified config).