[erlang-questions] [noob-question]: Run modules outside of the directory
Wed Jan 7 14:07:46 CET 2009
One caveat to this is that if that module is not located in the
/path/to/*/ebin directory (i.e. ending with "ebin" subdir) the ERL_LIBS
setting won't find it, whereas "erl -pa /path/to/some/dir" option will.
Bernard Duggan wrote:
> As an alternative to Ulf and David's suggestions, you can also set the
> ERL_LIBS environment variable to much the same effect. Any paths you
> provide in it will be searched in addition to the default ones. From
> memory, the separator for multiple paths is a colon.
> Sten Gruener wrote:
>> I have got a somehow noob question. I am trying to find a possibility
>> to run a function from a module which is not inside of the directory.
>> Is there a way to do it? Like modifying the path variable?
>> erlang-questions mailing list
> erlang-questions mailing list
More information about the erlang-questions