On Tue, Feb 05, 2008 at 11:18:46AM +0100, Moritz Onken wrote: > sure I tried. > Try InflateColumn::DateTime which overwrites the register_column > method. It only works if it's loaded before Core.
Which is what you'd be doing with a second load_components call, which is why I asked. The -actual- problem is that it needs to be loaded before the *add_columns* call. If you'd described the symptoms rather than guessing at the disease we could have solved your problem by now. Anyway, as John said - use a BEGIN block. That'll make the load_components call run before add_columns (note that you'll need to include Core in it since the first load_components won't have run yet iehter). -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Director http://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http://chainsawblues.vox.com/ http://www.shadowcat.co.uk/servers/ _______________________________________________ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/