Why doesn't this work: INSERT in PROCESS block.

Sherwood Botsford <[email protected]> Tue, 28 Jan 2014 22:55:26 -0700
Newsgroups gmane.comp.lang.perl.modules.template-toolkit
Message-ID <CAOX=2F8dg-2_HEaBX+omwX=SNFthrEue7c_U0+DYrnYFMXanwQ@mail.gmail.com>
[% PROCESS header.inc
    Title = "Instant Trees -- Just add water"
    Desc = "Sherwood's Forests advice on getting your own forest quickly."
    [% INSERT last-modified-gmt.inc %]
%]

When I run ttree it fusses:

 ! file error - parse error - Solutions/Instant_Forest.tt2 line 1-5:
unexpected token (%)
  [% PROCESS header.inc
    Title = "Instant Trees -- Just add water"
    Desc = "Sherwood's Forests advice on getting your own forest quickly."
    Last_Major_Modification = "Tue 28 Jan 2014 20:23:42 MST"
    [% INSERT last-modified-gmt.inc %]



Respectfully,

Sherwood of Sherwood's Forests

Sherwood Botsford
Sherwood's Forests --  http://Sherwoods-Forests.com
780-848-2548
50042 Range Rd 31
Warburg, Alberta T0C 2T0

_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates