[erlang-questions] otp 21.2

Dan Sommers 2QdxY4RzWzUUiLuE@REDACTED
Thu Dec 13 01:23:47 CET 2018


On 12/12/18 5:30 PM, Sam Overdorf wrote:
> I believe you missed the point that they "erl" and "escript" should
> have the same behavior.

I don't know the exact reason for the change, but if your escript
depends on your .erlang file, then you can't share it with anyone.

In fact, if your escript even just loads your .erlang file, then
you can't share it with anyone.

I believe that the correct behaviour for escript is *not* to read
a .erlang file, unless directed to do so explicitly.

Dan



More information about the erlang-questions mailing list