Apparently, you're hitting a circular dependency. (Does Module use Module::Foo?)
You can work around the issue by having Module::Foo declare our($X0, $X1) but that's kinda awkward. If these constants are not computed it's probably better to create a Module::Constants that everyone uses, but which doesn't use anyone else in the project. | [reply] [d/l] |
Spot on gaal, and ++!! I'm amazed you saw this with so little to go on. Anyway, I created a new module, "Module::Constants", and put the globals there. That broke the dependency cycle, and all is well. Thanks!
| [reply] |
Can you create a minimal test case that demonstrates the problem?
Being right, does not endow the right to be rude; politeness costs nothing. Being unknowing, is not the same as being stupid. Expressing a contrary opinion, whether to the individual or the group, is more often a sign of deeper thought than of cantankerous belligerence. Do not mistake your goals as the only goals; your opinion as the only opinion; your confidence as correctness. Saying you know better is not the same as explaining you know better.
| [reply] |