in reply to Synchronizing constants/enums in database and code
I was in a similar situation. Here's what I did:
And because it's under mod_perl, the code that builds the hashref is in a startup.pl that is called when Apache starts, so it's instantly available to my scripts, and DB calls are only made when the server starts.
cLive ;-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Synchronizing constants/enums in database and code
by dragonchild (Archbishop) on Apr 11, 2004 at 15:11 UTC |