use constant DB_USER => 'userdb'; ... use constant TABLE_USERDATA => 'userdata';