Since we've recently ported several of our open source applications to Template Toolkit, our users have been trying them in a variety of environments.
One of them is NT. It appears that the current stable version of TT (at first glance, but the problem is definitely in 2.02) has a problem with templates referred to via NT paths. Specifically, \ and : (eg c:\templates) crashes with invalid filename errors. The culprit seems to be regexes in Provider.pm and Template.pm eg code like my( $ccompfile ) = $compfile =~ /^([\w\-\.\/]+)$/ or die; Works only if I add \ and : to the list of valid chars when using an absolute value to a template on NT. I mentioned this to Stas, and he suggested along with my signing up for this list :) that I also mention that File::Spec might be a better way of making sure the possible universe of filename characters was accurate than simply adding a couple extra chars to the regexes. __________________________________________________ Gunther Birznieks ([EMAIL PROTECTED]) eXtropia - The Open Web Technology Company http://www.eXtropia.com/
