On 05/03/07, Dave Howorth <[EMAIL PROTECTED]> wrote:
I need to read data from a database where fields have been entered by
hand and have miscellaneous extraneous leading and trailing whitespace.
I think the best approach is to suppress these characters as I retrieve
the fields from the database, so I guess I need to override some method
(in my Schema ?) but I haven't figured out which.
I've looked around in the Cookbook and FAQ without spotting anything.
Could somebody give me a pointer to the right place?
Thanks, Dave
Wouldn't you just override the relevant accessors in your model
classes to do this?
_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/