vsn attribute

Vance Shipley <>
Fri Jun 25 04:45:44 CEST 2004


How is the vsn attribute used these days?  I see the OTP folks have
stopped using it although the users guide for sasl still recommends
it.  It seems that a strange value is always assigned if you don't
supply one yourself.

The vsn attribute shows up in Module:module_info/0 as defined when
present:

-vsn("0.1").

{attributes,[{vsn,"0.1"}]}

Or as a strange number when not:

{attributes,[{vsn,[69329816276472662871214444589331338499]}]}


	-Vance



More information about the erlang-questions mailing list