Config::Auto has similar magic, actually. I needed a different thing: I need to use a configuration file not only in the script itself, but also in several modules (such as database-related stuff). So I need to keep the configuration data (or at least a path to the config file) in some public place.