> However my plan has been nipped in the bud. We used a style of:
> [% DIRECTIVE %] text [% /DIRECTIVE %]
> instead of TT2's:
> [% DIRECTIVE %] text [% END %]
> The problem with this is, my /DIRECTIVE will never make it to my new
> grammar, as its identified by Parser::tokenise_directive() as a FILENAME
> before checking to see if its a known directive of some sort.
> Is there a good solution to this that I'm overlooking? Re-writing
> Parser.pm would sort of defeat the purpose of what I'm trying to do here.
Without knowing if the END directive would always be effective, maybe
it's time to run
perl -pie's/\/DIRECTIVE/END/g' *.tpl
with a simple 'graduation' logic --- one directory at a time, say.
It's not terribly sofisticated, but it's simple and easy to
understand.
-+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+-
Richard Tietjen <[EMAIL PROTECTED]> www.pobox.com/~rdtietjen
"Irony is what they make two-edged swords from."
-+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+-