easy module reload?
klacke@REDACTED
klacke@REDACTED
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").
c:l(user_default).
[klacke@REDACTED]~ > ls ~/erlang/user_default*
/home/klacke/erlang/user_default.beam
/home/klacke/erlang/user_default.erl
[klacke@REDACTED]~ > erl
Erlang (BEAM) emulator version 5.4.5 [source] [hipe]
Eshell V5.4.5 (abort with ^G)
1> mm().
[]
/klacke
--
Claes Wikstrom -- Caps lock is nowhere and
http://www.hyber.org -- everything is under control
More information about the erlang-questions
mailing list