The variable from the main space gets declared too late when we want to initialize the variable in the module. Instead switch to use a function that gets called on demand, which will have the available value at that time. This removes the need to declare $VERSION in a BEGIN section, as that is error-prone and easy to forget for new code. Change-Id: I613698169dddd6d7ccf52b16a0ee9994e84b3543mr10.0
parent
d25ae07b99
commit
2aeedad442
Loading…
Reference in new issue