I probably won't be on this list too long, but wanted to pop in and report a bug. Apparently if you have two or more <tmpl_include> tag on a line, the second one always bombs. Here's a fairly simplified test file for it:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html> <head><title>Community</title></head><body> <div align=center style="height: 100%;"><table width=770 height="100%" border="0" cellspacing="0" cellpadding="0" ><tr><td> <tmpl_include NAME="../top.html"> </td></tr><tr><td> <tmpl_include NAME="../home-template.html"> </td></tr> <tr><td> <tmpl_include NAME="../bottom.html"> </td></tr></table></div></body></html> The three included templates in question exist in the right relative location to the template. This template is processed properly. If the first & second or second & third <tmpl_include> tags are simply joined onto the same line, it bombs with this error: HTML::Template->new() : Cannot open included file ../home-template.html: file not found. at /usr/local/lib/perl5/site_perl/5.6.1/HTML/Template.pm line 2180 I ran into this immediately when I tried using the htmlclean script (from HTML::Clean) to try to condense all our templates. This is however the first bug I've run into in 6 to 8 months of working with HTML::Template to build a web GUI. -- Clifton -- Clifton Royston -- [EMAIL PROTECTED] Tiki Technologies Lead Programmer/Software Architect Did you ever fly a kite in bed? Did you ever walk with ten cats on your head? Did you ever milk this kind of cow? Well we can do it. We know how. If you never did, you should. These things are fun, and fun is good. -- Dr. Seuss ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users