http://qs1969.pair.com?node_id=1102137


in reply to Seeking the right way to override global variables

It is usually a good idea to put "global variables" into a Common module of some kind, perhaps which exposes an object that simply serves as the repository of those values. When you do it this way, it's always obvious that you're referring to a widely-used variable ... and it's therefore always obvious when and where it's being used throughout a potentially very-large application. Be sure to use strict; use warnings; everywhere.