[erlang-questions] Loaded module version on a diskless node

Bjorn Gustavsson bjorn@REDACTED
Thu Aug 9 13:53:32 CEST 2007


Joel Reymont <joelr1@REDACTED> writes:
> 
> I thought there was a way to ask for the version of the module loaded  
> into memory but can't find the option to do this.

If you have the binary containing the beam code (the contents of the .beam
file):

beam_lib:version(BinaryContainingCode).

This is documented.

/Bjorn

-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB



More information about the erlang-questions mailing list