[Catalyst] Capture template output?

Mark Blythe perl at markblythe.com
Sun Feb 19 18:55:55 CET 2006


Is there a way to capture the output of rendering a template through
the view rather than sending it back as the request body?  It seems
like this should be possible, but I haven't found any mention in the
manual.

I want to use the same templating system to generate email text.  I
could just call Template Toolkit routines directly, but it  would be
quite convenient to be able to take advantage of the catalyst
environment, such as the stash.

Any tips?

Thanks,
Mark



More information about the Catalyst mailing list