Using references from the shell?

Pierpaolo BERNARDI bernardp@REDACTED
Wed Aug 20 16:27:45 CEST 2003


From: "Massimo Cesaro" <massimo.cesaro@REDACTED>

> The question is, can I handle references from the shell, or am I
> supposed to write a test module and pass references as opaque values?

As far as I understand, the whole point of references is that they are
unforgeable.  If there existed a way to obtain the reference from
its printed representation then this would be vanified.

Perhaps you can do: 

     R = ets:lookup(...), func(R).

??

Ciao
P.




More information about the erlang-questions mailing list