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

Reply via email to