node naming conventions

Vance Shipley vances@REDACTED
Fri Feb 7 06:24:38 CET 2003


Chris,

Node names are atoms.  To use wonky characters like the at sign,
the hyphen or the space you must enclose it within single quotes.

db_nodes() ->
	['one@REDACTED', 'two@REDACTED'].

   -Vance

On Fri, Feb 07, 2003 at 03:51:09PM +1100, Chris Wright wrote:
}  
}  what's the right way to name a node on that machine
}  (from joe's tutorial:
}  	db_nodes() ->
}  		[one@REDACTED, two@REDACTED].
}  
}  gives an arithmetic error as it tries to perform icu - 21!)
}  
}  thanks!
}  
}  Chris
}  



More information about the erlang-questions mailing list