[erlang-questions] Is -on_load() still experimental? Anyone using it?

Ferenc Holzhauser ferenc.holzhauser@REDACTED
Fri Jan 24 10:46:00 CET 2014


Hi,

Recently stumbled into the -on_load() directive. It seems nice to replace
manual work (when possible) e.g. when a live update of a library module
needs some environment/configuration change on the running system.

doc: http://www.erlang.org/doc/reference_manual/code_loading.html#id84676

It says it is experimental (since R13B03).
After trying, it appears to be doing what I think it supposed to but
looking at this note in the doc I'm not sure how safe it is to use in
production.

Could somebody advise?

Thanks in advance,
Ferenc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140124/bdeac61c/attachment.htm>


More information about the erlang-questions mailing list