[Templates] Problem with IMPORT on 1.07
David Hodgkinson
daveh@hodgkinson.org
15 Aug 2000 21:24:44 +0100
I am this -><- close to getting the TT into use at a client site. BUT!
I have a problem with IMPORT. I can't even get the example in the
manual to work:
[% user = {
name = 'John Doe'
id = 'jdoe'
}
%]
[% IMPORT user %]
Name: [% name %] ID: [% id %]
Run through tpage gives:
file error - parse error: ./t2.tpl line 9: unexpected token (user)
-- IMPORT user at /usr/bin/tpage line 47.
HELP!
--
Dave Hodgkinson, http://www.hodgkinson.org
Editor-in-chief, The Highway Star http://www.deep-purple.com
Apache, mod_perl, MySQL, Sybase hired gun for, well, hire
-----------------------------------------------------------------