Hello there.
I've written a provider for Template Toolkit that allows template data
to be retrieved from the database via DBIx::Class. You can pass it a
DBIx::Class::ResultSet or DBIx::Class::Schema. The latter case allows
for calls such as:
$template->process('Foo/my_template');
$template->process('Bar/other_template');
...where the first part of the template name is the result set to search
(thanks mst!).
More information at
http://perlprogrammer.co.uk/module/Template::Provider::DBIC/ or CPAN.
--
Best wishes,
Dave Cardwell.
http://perlprogrammer.co.uk/
_______________________________________________
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]/