Folks,

I just upgraded to v2.6 and immediately noticed the following bug.

If I create a template with file 'some_dir/file.tpl' and
then in 'file.tpl', I do a <TMP_INCLIUDE name="nested.tpl">
then HTML::Template no longer looks in the "some_dir"
directory for "nested.tpl". Upto v2.4, it used to.

I narrowed this down to the following:

v2.6 uses for the search path:
        File::Spec->splitdir($fstack[-1][0])

v2.4 used the following:
        split('/', $options->{filepath})

Looking at the changelog, it looks like the File::Spec way
of doing things was introduced in v2.5.

Ajit


-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to