template-toolkit

Parse and display MIME multipart email on website

I have a raw email, (MIME multipart), and I want to display this on a website (e.g. in an iframe, with tabs for the HTML part and the plain text part, etc.). Are there any CPAN modules or Template::Toolkit plugins that I can use to help me achieve this? At the moment, it's looking like I'll have to parse the message with Email::MIME, th...

How do I edit a previously setup webpage with Template Toolkit

I am trying to edit a bugzilla page and was going to use template toolkit (on windows) for this as I am making quite a few changes. I am new to perl and template toolkit. I have looked at the manuals and tutorials for template toolkit but I seem to be missing the initial step. i.e. how to open an existing file for example "create.html.tm...

Trying to create Template::Plugin::Filter for Haml

I'm trying to create a cpan module that integrates Text::Haml into Template Toolkit. I think that Haml is an interesting templating language but rather limited, it doesn't support loops or conditionals let alone more advanced things. But I can't seem to get eve a very simple version to work. The following are some test scripts that work ...

Can I set up template inheritance inside a template? (Template Toolkit)

I have to display different medical forms according to which state the user is in. There is also a default form that many of the states share. These medical forms are all written in Template Toolkit and they are included in larger templates. The state is available as a variable in a normalized form. I need to select the state-specifi...