The Perl 5 module DBIx::Class::DynamicDefault is a DBIx::Class
component for automatically setting and updating fields with values
calculated at runtime.

Homepage:
http://search.cpan.org/dist/DBIx-Class-DynamicDefault/
