![]() |
|
Perl: the Markov chain saw | |
PerlMonks |
Re^2: package splitting and 'our' useby steves (Curate) |
on May 10, 2005 at 04:31 UTC ( #455432=note: print w/replies, xml ) | Need Help?? |
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
|
|