Contents of a properties file.
dbdriver = DBI:mysql
dbname = DatabaseName
dbhost = localhost
dbport = 3306
dbuser = root
dbpass = rotorooter
You would not believe how awesome that module is. I have 3 different databases to access (At work). I use the same script to access, and disconnect for each of them. I simply feed the script a fh reference to the proerties file, or the properties file name, and the script does the rest.
If you like, I will post the code here for you.
Kristofer Hoch
In reply to Re: Includes, strict and pointers.
by krisahoch
in thread Includes, strict and pointers.
by lagrenouille
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |