undef problem even when the module is present.

Manjeet.Singh Sardar (AC/EDD) Manjeet.Singh.Sardar@REDACTED
Tue Feb 1 18:14:45 CET 2005


Hi Bengt,
the function is defined and is exported as well like

-export([open/1]).

Regards
Manjeet

-----Original Message-----
From: owner-erlang-questions@REDACTED
[mailto:owner-erlang-questions@REDACTED]
Sent: Tuesday, February 01, 2005 5:57 PM
To: Erlang-Questions (E-mail)
Subject: Re: undef problem even when the module is present.


Manjeet.Singh Sardar (AC/EDD) wrote:

...deleted
> It is working fine  but sometimes i get a "undef" error(i know that this error comes when the called module is not found)

just to make sure.
it is also possible to get ''undef'' if the module exists, but the 
fucntion does not.
note that
module:function/1
is different from
module:function/2


bengt



More information about the erlang-questions mailing list