It looks like you are missing the [% END %] tag to close your FOREACH. Peter Guzis Web Administrator, Sr. ENCAD, Inc. - A Kodak Company email: [EMAIL PROTECTED] www.encad.com
-----Original Message----- From: Edward Tsai [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 10:55 AM To: [EMAIL PROTECTED] Subject: [Templates] Simple parse error Hello everyone, I'm getting the following error from the following file Template process failed: Template::Constants::ERROR_FILE error - parse error - request.html.tmpl line 10: unexpected end of input from [% INCLUDE header title = 'TEmplate Toolikt' %] <ul> [% FOREACH person = login_name %] <li> loginname is [% person %] </ul> [% INCLUDE footer %] which is called from another file referencing my $template = Template->new({ INCLUDE_PATH => '/home/etsai/scrs/templates/src:/home/etsai/scrs/templates/lib', PRE_PROCESS => 'config', }); $template->process('request.html.tmpl', $vars) || die "Template process failed: ",$template->error(), "\n"; } and the standard header footer files are under /home/etsai/scrs/templates/lib Thank you, -Edward __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com _______________________________________________ templates mailing list [EMAIL PROTECTED] http://lists.template-toolkit.org/mailman/listinfo/templates _______________________________________________ templates mailing list [EMAIL PROTECTED] http://lists.template-toolkit.org/mailman/listinfo/templates
