in reply to Re: OO Configuration Values (version 2)
in thread OO Configuration Values (version 2)
your $config_hash is populated once at CT and afterwards this reference is used all over the place.
sub new { return $config_hash; }
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
|
|---|