[erlang-questions] program.conf modification

Maxim Treskin zerthurd@REDACTED
Thu Jul 3 13:23:56 CEST 2008


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



More information about the erlang-questions mailing list