From: Matt S Trout Date: Mon, 6 Aug 2007 19:10:08 +0000 (+0000) Subject: typo pointed out by kangas X-Git-Tag: v0.08010~103 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2acfa83c9e75bbf383cbb216a7c2e70946a83b46;p=dbsrgits%2FDBIx-Class.git typo pointed out by kangas --- diff --git a/lib/DBIx/Class/Manual/FAQ.pod b/lib/DBIx/Class/Manual/FAQ.pod index df0f773..39f4b99 100644 --- a/lib/DBIx/Class/Manual/FAQ.pod +++ b/lib/DBIx/Class/Manual/FAQ.pod @@ -259,7 +259,7 @@ L for details. In your table schema class, create a "private" column accessor with: - __PACKAGE__->add_columns(my_common => { accessor => '_hidden_my_column' }); + __PACKAGE__->add_columns(my_column => { accessor => '_hidden_my_column' }); Then, in the same class, implement a subroutine called "my_column" that fetches the real value and does the formatting you want.