[erlang-bugs] module name with .
Hynek Vychodil
hynek@REDACTED
Sun Feb 28 22:44:13 CET 2010
On Sun, Feb 28, 2010 at 5:57 PM, J K <jmakarlsson@REDACTED> wrote:
> 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?
Try c('fm2,2').
It's just erlang syntax.
>
> Johan
>
>
> ----- Original Message ----
> From: Robert Virding <rvirding@REDACTED>
> To: J K <jmakarlsson@REDACTED>
> Cc: Erlang Bugs <erlang-bugs@REDACTED>
> 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 <jmakarlsson@REDACTED> 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:erlang-bugs-unsubscribe@REDACTED
>>
>>
>
>
>
>
>
> ________________________________________________________________
> erlang-bugs (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:erlang-bugs-unsubscribe@REDACTED
>
>
--
--Hynek (Pichi) Vychodil
Analyze your data in minutes. Share your insights instantly. Thrill
your boss. Be a data hero!
Try GoodData now for free: www.gooddata.com
More information about the erlang-bugs
mailing list