[Dbix-class] Template::Provider::DBIC
Dave Cardwell
dave+gmane at perlprogrammer.co.uk
Fri Mar 2 07:53:41 GMT 2007
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/
More information about the Dbix-class
mailing list