in reply to Automating dispatch tables

For a safe (and syntactically convenient) way to do this, check out Exporter::Dispatch.