The stupid question is the question not asked | |
PerlMonks |
Re^2: OO Configuration Values (version 2)by Anonymous Monk |
on Oct 28, 2013 at 09:47 UTC ( [id://1059956]=note: print w/replies, xml ) | Need Help?? |
your $config_hash is populated once at CT and afterwards this reference is used all over the place.
hands down this very reference to any new() instance so when you $object->config->base_directory("/home/otheruser/");,this one-and-only hash is altered and seen altered by each and every instance holding a ref to it
In Section
Meditations
|
|