easy module reload?

Wed Apr 27 23:00:51 CEST 2005

On Thu, Apr 28, 2005 at 04:14:49AM +0800, ke.han wrote:
> Cool..great little tool!!!
> In the post you reference, it says:
> >> I've added this code to my _user_default.erl_
> Is this "user_default.erl" a special file that erlang loads with the shell? 
> i.e. How do I get erl to load up with these nice little tools at the ready?

[klacke@REDACTED]~ > cat .erlang                 
true = code:add_patha(os:getenv("HOME") ++ "/erlang").

[klacke@REDACTED]~ > ls  ~/erlang/user_default* 

[klacke@REDACTED]~ > erl
Erlang (BEAM) emulator version 5.4.5 [source] [hipe]

Eshell V5.4.5  (abort with ^G)
1> mm().


Claes Wikstrom                        -- Caps lock is nowhere and
http://www.hyber.org                  -- everything is under control          

More information about the erlang-questions mailing list