[erlang-questions] Storing funs in term files

Steve Davis steven.charles.davis@REDACTED
Sun Apr 5 01:14:27 CEST 2009


Hi Matthew,

Succinct, and exactly what I was searching for!

Many thanks.

BR,
/s

Matthew Dempsky wrote:
> 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