in reply to examining other package's variable without 'use'
Note that your programming style is widely regarded as bad style. Some maintainance programmer will come along, see the assignment to the special variable in the calling package, without seeing the variable used, and she will delete the assignment. The program will then mysteriously break. This is using global variables in one of the worst ways imaginable. You should consider either passing the data to the used package when doing the use statement, or by setting a variable in the used package.
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: examining other package's variable without 'use' (rant)
by Aristotle (Chancellor) on May 10, 2003 at 21:31 UTC |