Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^4: Placing Catalyst Database Connections Settings Outside .conf File

by Your Mother (Archbishop)
on Sep 09, 2016 at 13:56 UTC ( [id://1171464]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1171464]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2024-04-25 08:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found