loading a table from file doesn't work unless inside erl shell

Erik Garrison garris@REDACTED
Sun Apr 30 02:59:21 CEST 2006


I've been attempting to use ets:file2tab and ets:tab2file to save/load
configuration options into a simulation environment I've created.

I can load a saved table from a file in the interactive shell, but I am
unable to do so in any program started from the command line using "erl
-run Mod Func".  I would like to be able to use a bash script to string
together a series of successive program runs, but unless I can load a
table from a file this will be impossible.

What am I missing?

-Erik Garrison



More information about the erlang-questions mailing list