[erlang-questions] erl -pa buggy behavior

11 views
Skip to first unread message

Joe Armstrong

unread,
Oct 19, 2010, 2:07:59 PM10/19/10
to Erlang
The manual page for "erl" says

-pa Dir1 Dir2 ... :
Adds the specified directories to the beginning of the
code path ...

But it doesn't - not if you have a .erlang start-up file. When you
have a startup file
it is consulted first, *then* the -pa flag is obeyed. To make life worse the
.erlang file isn't documented in the erl man page at all.

/Joe

________________________________________________________________
erlang-questions (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-questio...@erlang.org

Reply all
Reply to author
Forward
0 new messages