Just curious but is this something that could be handled by an ini style config file and a module like Config::Tiny ?
Ted
-- "That which we persist in doing becomes easier, not that the task itself has become easier, but that our ability to perform it has improved."
--Ralph Waldo Emerson