in reply to package variable does not persist

Can you please show us a short subroutine where the configuration variable works and an equally short subroutine where it fails?

You've shown us the outside of things but not how $Module::configvar is accessed within the subroutines where it fails to do so.