graff, I have looked at both of those modules, and neither would do the templating I need for my site
Those are brave words, I highly doubt TT2 wouldn't be able to accomplish what you need :)
For example
print_definitions( file => "some_file_a.txt", headings => [ "term", "definition" ], )
in tt2 you could write as
[% INCLUDE print_definitions.tt file = "some_file_a.txt" headings = [ "term", "definition" ] content = "this ends up in variable content " %]
Or even as
[% WRAPPER print_definitions.tt file = "some_file_a.txt" headings = [ "term", "definition" ] %] this ends up in variable content [% END %]
See http://search.cpan.org/perldoc/Template::Manual::Directives#INCLUDE,
http://search.cpan.org/perldoc/Template::Manual::Directives#WRAPPER
http://search.cpan.org/perldoc/Template::Tutorial::Web
In reply to Re^3: Evaluating subroutines from within data
by Anonymous Monk
in thread Evaluating subroutines from within data
by Lady_Aleena
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |