[erlang-bugs] module name with .

J K <>
Sun Feb 28 17:57:29 CET 2010


My opinion is that experimental stuff should be off by default.

I'm using "_" now. 

I tried comma just for "fun":

254> c(fm2,2).                 
./fm2.erl:none: no such file or directory
error
255> compile:file(fm2,2.erl).  
* 1: illegal expression
256> compile:file('fm2,2.erl').
{ok,'fm2,2'}
257> 

Maybe something with the shell?

Johan


----- Original Message ----
From: Robert Virding <>
To: J K <>
Cc: Erlang Bugs <>
Sent: Sun, February 28, 2010 5:15:36 PM
Subject: Re: [erlang-bugs] module name with .

My guess is that you are interacting with the experimental, and poorly
documented, package system which assumes things when it sees module
names with '.'. As far as I know there is no way to turn this off.
Someone else may know more about this. My only suggestion is to avoid
module names with a '.'.

Robert

On 28 February 2010 10:09, J K <> wrote:
> Hi,
> is this a bug?
>
> Erlang R13B01 (erts-5.7.2) [smp:2:2] [rq:2] [async-threads:0]
>
> Eshell V5.7.2  (abort with ^G)
>
> 4> c('fm2.2').
> fm2.2.beam: Module name 'fm2.2' does not match file name 'fm2.2'
> error
> 5>
>
> i have:
> -module('fm2.2').
>
> BR
> Johan
>
>
>
>
>
> ________________________________________________________________
> erlang-bugs (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:
>
>



      


More information about the erlang-bugs mailing list