1 $CONFIG = {} unless $CONFIG
2 $CONFIG['database'] = {} unless $CONFIG['database']
4 # if you use postgres' "ident sameuser" auth set dbhost to ''
5 $CONFIG['database']['dbhost'] = 'localhost';
6 $CONFIG['database']['dbname'] = 'tornaming';
7 $CONFIG['database']['user'] = 'tornaming';
8 $CONFIG['database']['password'] = 'x';