Closed mschout closed 3 years ago
I am using version 1.44 of Text::Template.
Hi again.
What I am trying to do is to use preprocessing magic so that if if a lone bare word appeared in a template { grammar } it will be substituted for the contents of file ./grammar to or the data from a script ./emit_grammar.
The preprocessor checks for this, and rewrites 'grammar' into '$grammar', sets $grammar to the value, pulling the data into the form.
As far as I can tell, the way it behaves is the way MJD intended it to.
Given this has been in production for so long at this point, I'm reluctant to change the way preprocess works at this point.
-- Regards, Michael Schout
https://rt.cpan.org/Ticket/Display.html?id=31560