[erlang-questions] like erlang all default modules are accessable from anywhere !!

Jesper Louis Andersen jesper.louis.andersen@REDACTED
Mon Feb 24 12:29:50 CET 2014


On Mon, Feb 24, 2014 at 7:34 AM, PONMUTHU.M
<ponmuthu.m@REDACTED>wrote:

>     like erlang all default modules are accessable from anywhere, i want my
> beam files also should be run in linux & windows what kind of path &
> varaibale havw to set .
>

Look at the ERL_LIBS environment variable:

erl -man erl
erl -man code

Alternatively, look at using -pa and -pz as options to 'erl' in order to
add new paths to the code load path.



-- 
J.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140224/f0cbbc52/attachment.htm>


More information about the erlang-questions mailing list