[erlang-bugs] erl rejects FQN that begin with a digit

Vlad Dumitrescu <>
Wed Oct 20 13:58:56 CEST 2010

On Wed, Oct 20, 2010 at 13:50, Patrick Baggett
<> wrote:
> It seems Erlang doesn't like domain names that start with digits, in my
> case, the domain "8fun.net"
> ()5> tut17:start_ping().
> * 1: syntax error before: 8


Try enclosing the host name in single quotes, to make it a single atom:

()5> tut17:start_ping('').

Otherwise each part delimited by a dot is scanned as an atom, and
atoms can't begin with digits.

best regards,

More information about the erlang-bugs mailing list