in reply to Advice on storage of Apache app configuration information?
Lately I've taken to just writing short perl scripts like
And doing a quick edit of the data structure and rerunning them to change the server configuration.use Storable qw/lock_nstore/; my $cfg = { ## configuration data here }; lock_nstore($cfg => '/some/file/name/here');
Of course, avoid doing this for truly massive (> 10,000 items) data structures, as your server process memory consumption will just eat you alive.
|
---|