From: Brian Cassidy Date: Thu, 29 Dec 2005 22:15:36 +0000 (+0000) Subject: added stringification example X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=25af00d72b25cddcce6cccf1524cdcacfa032cb0;p=dbsrgits%2FDBIx-Class-Historic.git added stringification example --- diff --git a/lib/DBIx/Class/Manual/Cookbook.pod b/lib/DBIx/Class/Manual/Cookbook.pod index 9bdd280..c1fd262 100644 --- a/lib/DBIx/Class/Manual/Cookbook.pod +++ b/lib/DBIx/Class/Manual/Cookbook.pod @@ -122,4 +122,11 @@ It's as simple as overriding the C method. Note the use of C. $class->next::method( $attrs ); } +=head2 Stringification + +Deploy the standard stringification technique by using the C module. Replace +C with the column/method of your choice. + + use overload '""' => 'foo', fallback => 1; + =back