Reloading modules

Vlad Dumitrescu (EAW) <>
Tue Mar 11 17:39:32 CET 2003


Hi and welcome! :-)

You can use "c(module)." to compile and load, or "l(module)." to just load the compiled new code. This will do a Code:purge first, and then a code:load. See code module docs for details.

Check the c module, it has a lot of goodies to be used from the shell.

regards,
Vlad

> -----Original Message-----
> From: Webb Sprague [mailto:]
> Sent: Tuesday, March 11, 2003 5:28 PM
> Cc: 
> Subject: Reloading modules
> 
> 
> First--greetings, and thanks to all the people that made 
> Erlang happen. 
>  It is *really* cool.
> 
> Is there a way to reload modules that you change in the shell. 
>  Basically, I just want to test them, change, test, etc.  If 
> I need to 
> write something a function, that would be fine, but this 
> would help me 
> out a lot.
> 
> I did search the archives a little bit, but I couldn't find anything.
> 
> Thanks
> W
> 
> 



More information about the erlang-questions mailing list