> > > ###############
> >
> > ^^^ A resultsource is useless until you declare a
> > table() on it (this is not only an accessor but also an
> > initializer).
>
> Perhaps you did not read my example.  I am not using a
> resultsource explicitly.  I am simply trying to 'use' the
> package above, which includes an inflate_column statement.
> If I comment out the __PACKAGE__->inflate_column statement,
> it loads fine with 'use'.  Otherwise, 'use' generates the
> result_source error.

I am confused - I have to declare table, etc. where I want
to use inflate_column, even though I am using
Schema::Loader?  I am able to add things to other classes
such as use of InflateColumn::DateTime and new object
methods, by writing out the class, without specifying
tables, and Schema::Loader apparently merges them.  This is
not true of InflateColumn?

Thanks.

Mark

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]

Reply via email to