[erlang-questions] module reloading
Alex Alvarez
alex@REDACTED
Mon Apr 16 04:06:04 CEST 2018
Thanks for your response and the referenced link! What called my
attention about this is that according to the c:help() function c:l()
is for both loading and reloading. Now, I see that from the
documentation this is only the case if the given module (e.g., math)
is marked/identified as old. Hence, this reloading is only for module
upgrades, as need be. AFAIK now, then the only way to manually reload
any module is to first use code:delete/1 and then c:l/1 again or
code:load_file/1. What do you know! Then again, if you know of a one
step way, please let me know.
Cheers,
Alex
On 4/15/2018 at 7:34 AM, "bengt" wrote:code:load_fileGreetings,
This is one explanation of *sticky directory*:
http://erlang.org/pipermail/erlang-questions/2002-October/005908.html
bengt
On 13 Apr 2018, at 19:13, Alex Alvarez wrote:
Sorry if this was already asked and I missed it... While using
v20.3.2, after I load a module...
11> l(math).
{module,math}
...if I try to reload it again with the same command...
12> l(math).
=ERROR REPORT==== 13-Apr-2018::13:09:15 ===
Can't load module 'math' that resides in sticky dir
{error,sticky_directory}
...I get this error message. It's not particular to any module. From
the error, there seems to be a problem with a stcky bit somewhere.
Although I don't remember having this problem before, who knows, maybe
it's just my install. Has anyone run into this issue recently?
Thanks,Alex
_______________________________________________
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/20180415/9ab7be20/attachment.htm>
More information about the erlang-questions
mailing list