in reply to Re: Do I have to export all variables and functions from my PM file?
in thread Do I have to export all variables and functions from my PM file?
In fact, it is probably better to make the variables lexical (i.e. 'my' rather than 'our'). The 'our' variables are still accessible using their fully-qualified names. The 'my' variables are not accessible at all from outside the scope that declares them, unless some code in that scope passes them out.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Do I have to export all variables and functions from my PM file?
by LanX (Saint) on Mar 07, 2022 at 15:51 UTC | |
Re^3: Do I have to export all variables and functions from my PM file?
by Anonymous Monk on Mar 08, 2022 at 10:15 UTC |