[erlang-questions] How can i communicate with a gen_server-based server

Andras Georgy Bekes bekesa@REDACTED
Fri Mar 28 17:21:41 CET 2008


> A question, ar atoms loaded from a dets when the file is opend?
> Storing user name and passwords are stored in a dets table, VM is
> started and the file opend, would list_to_existing_atom(String)
> return an atom that exist in the dets, and have bot yet been
> called/addressed?

The answer doesn't really matter. Storing atoms that do not show up in 
any of the modules, is a mis-use of atoms, just like any other use of 
such atoms.

list_to_atom/1 is for the shell to be able to create the atoms you type 
(and for dets to do the above).
Almost any other use of list_to_atom/1 is a misuse.

If you feel the urge to use list_to_atom/1, just say no.
If you obey, you don't need the answer to the above question.

	Georgy



More information about the erlang-questions mailing list