I have a file .erlang in the current dir I run erl shell that compiles a few modules.
Is there way to re run this file from the Erlang shell.
I run erl I get the shell 1> and from there run like run_file(“.erlang”) and this file execute the instructions in the current shell and load the env.
The file looks like
compile:file(file1).
compile:file(file2).
compile:file(file3).
...
You’re looking for
file:eval/1.Given a
.erlangwith this content:You get: