Mark Anthony wrote: > Hi, > > Another newbie question. I found the MACRO directive, and it does what I > need: replacing a collection of macros into multiple lines. Each macro > gets replaced by 2 to 5 lines, so I put all the macros into 1 file and > then [% PROCESS ... %] to pull in the macro-definition file. > > This works great. Then I got a question from another user which I can't > seem to find an answer to: What if the user mistyped the name of a > macro? Can I get some kind of error for an undefined macro?
You may be able to use DEBUG_UNDEF. Cheers, Dave _______________________________________________ templates mailing list [email protected] http://lists.template-toolkit.org/mailman/listinfo/templates
