in reply to Re^2: Returning the value generated in package/module problem
in thread Returning the value generated in package/module problem

If you are trying to export a variable from your package, it needs to be declared as a "our" variable in that package to give it package scope, then you can export it.

Not if you don't use strict/warnings, undeclared variables are global variables by default

  • Comment on Re^3: Returning the value generated in package/module problem