Yes, I was thinking that a module global is the best approach.  Otherwise, there is a hack to get around a very non-obvious aspect of the language.