[erlang-bugs] erl rejects FQN that begin with a digit
Wed Oct 20 13:58:56 CEST 2010
On Wed, Oct 20, 2010 at 13:50, Patrick Baggett
> 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:
Otherwise each part delimited by a dot is scanned as an atom, and
atoms can't begin with digits.
More information about the erlang-bugs