Another option is to specify -mode(compile). and in your spawn/3 code use ?MODULE for module -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110223/3baba1c8/attachment-0001.htm>