in reply to Updating Hash from a config file

I haven't closely examined your code, but considering the ultimate task at hand (reading a configuration file), perhaps you would be very interested in Config::General or Config::Generic ?