Is it possible to reverse an anonymous list in template toolkit开发者_Go百科? e.g. [% FOREACH month IN [1..12].reverse %]
I have a TT plugin that does the trivial unique 开发者_C百科ids: sub get_unique_uid_tt { my ( $classname, $o ) = @_;
I am using the Perl Template Toolkit to generate C files. I dearly want to be able to include #line directives in my C code so that error messages from the C compiler send me to the right place (the t
Template-Toolkit seems to want to always interpolate undef to the empty string. So a template like this: