On Wed, 16 Jan 2002, Gyepi SAM wrote: > It's been awhile, so I don't remember the exact details. Removing the > patch, however, causes our templates to fail (file not found). We use lots > of nested includes. Additions to the test suites for both 2.2 and 2.4 show > that the unpatched versions handle simple nested includes OK (except when > path is not defined) so I need to do more research to find out what the > actual problem was. I'll have to get back to you...
Ah, right, nested includes. Your patch makes the search for a nested include start at the path of the including file. Without it all includes start search at the path of the outermost file. This is definitely the right behavior. I've attached a new version of HTML::Template including the fixes and a new test case - would you (Gyepi and David) test it to make sure it fixes your problems? If it does I'll release it in the next couple of days along with some new FAQs I've been meaning to write. Thanks! -sam
HTML-Template-2.5.tar.gz
Description: GNU Zip compressed data
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
