in reply to Re^3: Placing Catalyst Database Connections Settings Outside .conf File
in thread Placing Catalyst Database Connections Settings Outside .conf File

This might be what you're after.

  dsn => 'dbi:SQLite:' . SamPool->path_to('/data/SamPool.db'),

If not, check out Config::JFDI. Many Cat devs use this to consume the application's configuration in different contexts.

  • Comment on Re^4: Placing Catalyst Database Connections Settings Outside .conf File
  • Download Code