3 Jul 13:20
program.conf modification
From: Maxim Treskin <zerthurd <at> gmail.com>
Subject: program.conf modification
Newsgroups: gmane.comp.lang.erlang.general
Date: 2008-07-03 11:23:56 GMT
Subject: program.conf modification
Newsgroups: gmane.comp.lang.erlang.general
Date: 2008-07-03 11:23:56 GMT
Hello
When I write my program using application behaviour, I use
config-file, specified by erl -config program.conf. Is there any
standard way to modify it with erlang code? I.e. something alike:
Config = [{parm1, value1}, {parm2, value2}],
some_module:store_config(program, Config).
This code stores composed configuration to program.conf.
May be is there other way to do something like this?
Thank you
--
--
Maxim Treskin
RSS Feed