I'm using a config file as I work through the tutorial. This is an obvious thing to do and I completely agree with it. However, when I introduce this structure, I don't really want it to 'over-ride' existing values - I want to delete all the values which are now to be stored only in the config file.
I had to play around a bit. My model previously contained database connection information. When I introduce the config file, the values were taken from the file. However, when I deleted all of the relevant section from the Model, it broke the app. I needed to leave in a minimal stub:
__PACKAGE__->config(
schema_class => 'AddressBook::Schema::AddressDB');
Setting up PostgreSQL 12 Beta 3 for Testing in Amazon RDS
-
One of the amazing things about the PostgreSQL community is launching
releases like clockwork. On 8/8/2019 the PostgreSQL community not only
launched the ...
5 years ago
No comments:
Post a Comment