[erlang-questions] Storing funs in term files

Matthew Dempsky matthew@REDACTED
Sun Apr 5 00:20:26 CEST 2009


On Sat, Apr 4, 2009 at 4:06 AM, Steve Davis
<steven.charles.davis@REDACTED> wrote:
> 2>{ok, B} = file:consult("fun.term").
> ** exception error: no match of right hand side value
>                    {error,{2,erl_parse,"bad term"}}

Try using file:script.



More information about the erlang-questions mailing list