Sorry for incomplete message, jethro.
In fact I did add the last statement 1;
The error message says:
Global symbol "%module" requires explicit package name at ...
How should I name a hash from the module?
As to: I don't have the slightest idea why this was built into the module system
I simply cannot figure out how can I get it otherwise. One way is simply to let the hash in the main file, but as already said the hash grows huge and the main file will be confusing.