[Bast-commits] r4536 -
DBIx-Class-DynamicDefault/1.000/trunk/lib/DBIx/Class
rafl at dev.catalyst.perl.org
rafl at dev.catalyst.perl.org
Sun Jun 29 23:26:03 BST 2008
Author: rafl
Date: 2008-06-29 23:26:03 +0100 (Sun, 29 Jun 2008)
New Revision: 4536
Modified:
DBIx-Class-DynamicDefault/1.000/trunk/lib/DBIx/Class/DynamicDefault.pm
Log:
More documentation.
Modified: DBIx-Class-DynamicDefault/1.000/trunk/lib/DBIx/Class/DynamicDefault.pm
===================================================================
--- DBIx-Class-DynamicDefault/1.000/trunk/lib/DBIx/Class/DynamicDefault.pm 2008-06-29 22:25:52 UTC (rev 4535)
+++ DBIx-Class-DynamicDefault/1.000/trunk/lib/DBIx/Class/DynamicDefault.pm 2008-06-29 22:26:03 UTC (rev 4536)
@@ -15,7 +15,7 @@
=head1 NAME
-DBIx::Class::DynamicDefault
+DBIx::Class::DynamicDefault - Automatically set and update fields
=head1 SYNOPSIS
@@ -35,6 +35,13 @@
return $self->quux + 1;
}
+Now, any update or create actions will set the specified columns to the value
+returned by the callback you specified as a method name or code reference.
+
+=head1 DESCRIPTION
+
+Automatically set and update fields with values calculated at runtime.
+
=cut
sub add_columns {
More information about the Bast-commits
mailing list