in reply to inherit Readonly variables (constants)

If you use "use constants", you run into the same problems. The problem you get have nothing to do with Readonly. You're creating the read only values in one name space, and try to access from the other.

Just as with any other variables (including subroutines), you have have to use the fully qualified name from the other package, or export/import the variables.

  • Comment on Re: inherit Readonly variables (constants)