program.conf modification

View: New views
1 Messages — Rating Filter:   Alert me  

program.conf modification

by Maxim Treskin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
_______________________________________________
erlang-questions mailing list
erlang-questions@...
http://www.erlang.org/mailman/listinfo/erlang-questions
LightInTheBox - Buy quality products at wholesale price