Reading terms from a file.

Vance Shipley <>
Wed Nov 21 19:10:28 CET 2001


> Why not try
>  file:consult(Filename)

That is certainly the definitive answer.  We use this to 
read in our configuration files.  It's a simple elegant 
approach which has the added benefit of consistancy with 
the native files such as sys.config, appname.app and 
release.rel.

	-Vance

Vance Shipley
Motivity Telecom Inc.
+1 519 579 5816




More information about the erlang-questions mailing list