in reply to Re^4: Writing automatic code from sql
in thread Writing automatic code from sql

This is basically what DBIx::VersionedSubs::Hash does, except it also allows you to dynamically load newer versions from the database.