Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Where should I have configuration information in a file or database

by jethro (Monsignor)
on May 29, 2009 at 11:57 UTC ( #766849=note: print w/ replies, xml ) Need Help??


in reply to Where should I have configuration information in a file or database

Depends on your application. If the rest of the application needs a database anyway, you might store the configuration in there too. But if part of that configuration is the name and password of the database, obviously the database isn't a good place to store it ;-)

In most cases a file is easier to handle, faster to access and easier to edit by hand


Comment on Re: Where should I have configuration information in a file or database

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (18)
As of 2015-07-07 17:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls