Not sure i like the lock-in you get with the anon sub approach. I would make the config hash have
both the sub references and the options references -- that way if you ever needed to override the options, it's
a bit cleaner