[Dbix-class] setting automatic value on every update

Bernhard Graf dbic at augensalat.de
Thu Mar 2 20:58:07 CET 2006


http://search.cpan.org/~mstrout/DBIx-Class-0.05007/lib/DBIx/Class/Manual/Cookbook.pod#Setting_default_values_for_a_row
suggest overriding new() to set default values on creation.

What's the best way to set a column value on every update?
I want to set a "modified field" on every update.
-- 
Bernhard Graf



More information about the Dbix-class mailing list