in reply to Re^2: Variable access across packages?
in thread Variable access across packages?

And I want B to access a variable declared in main
while this is possible (with global variables) it's generally not a good idea. why give up the modularity gained from using a module if there are other ways to solve it?