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

José Valim jose.valim@REDACTED
Fri Jan 24 10:48:52 CET 2014


I have used this feature for a while without running into troubles. The
only known issue, which has been reported, is that it fails when compiling
the module with Erlang HiPE.



*José Valim*
www.plataformatec.com.br
Skype: jv.ptec
Founder and Lead Developer


On Fri, Jan 24, 2014 at 10:46 AM, Ferenc Holzhauser <
ferenc.holzhauser@REDACTED> wrote:

> 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
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140124/1edc1c59/attachment.htm>


More information about the erlang-questions mailing list