e1c8b18357
Fixed a bug relating to use of UNTAINT under perl 5.005_03 and possibly other versions. Taint-related tests are now more comprehensive. Tests now work correctly on Windows systems and possibly on other non-unix systems. New UNTAINT option tells the module that it is safe to 'eval' code even though it has come from a file or filehandle. Code added to prevent memory leaks when filling many templates. Thanks to Itamar Almeida de Carvalho. Bug fix: $OUT was not correctly initialized when used in conjunction with SAFE. You may now use a glob ref when passing a filehandle to the ->new funcion. Formerly, a glob was reuqired. New subclass: Text::Template::Preprocess. Just like Text::Template, but you may supply a PREPROCESS option in the constructor or the fill_in call; this is a function which receives each code fragment prior to evaluation, and which may modify and return the fragment; the modified fragment is what is evaluated. Error messages passed to BROKEN subroutines will now report the correct line number of the template at which the error occurred. If the template comes from a file, the filename will be reported as well. INCOMPATIBLE CHANGE: The format of the default error message has changed. Note that the default message used to report the line number at which the program fragment began; it now reports the line number at which the error actually occurred.
4 lines
181 B
Text
4 lines
181 B
Text
$NetBSD: distinfo,v 1.3 2001/11/22 09:45:22 martti Exp $
|
|
|
|
SHA1 (Text-Template-1.42.tar.gz) = dcd389054d9f5fac507d6ee0fd32752d49a835ba
|
|
Size (Text-Template-1.42.tar.gz) = 42497 bytes
|