|
|
| Do you know where your variables are? | |
| PerlMonks |
Re: Where should I have configuration information in a file or databaseby jethro (Monsignor) |
| on May 29, 2009 at 11:57 UTC ( #766849=note: print w/ replies, xml ) | Need Help?? |
|
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
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||