in reply to Re: package splitting and 'our' use
in thread package splitting and 'our' use
I considered this approach. What I don't like about it is that it forces every package the set-up affects to know about the set-up. I'd rather keep the set-up hidden, writing the packages to use things without worrying about where they come from.
The use of an array for settings was only for illustration purposes. The real implementation of this would be using different data structures; primarily hashes.
In Section Seekers of Perl Wisdom