Subject: CVS commit: pkgsrc/textproc/p5-Text-Template
To: None <pkgsrc-changes@netbsd.org>
From: Martti Kuparinen <martti@netbsd.org>
List: pkgsrc-changes
Date: 11/22/2001 11:45:23
Module Name:	pkgsrc
Committed By:	martti
Date:		Thu Nov 22 09:45:22 UTC 2001

Modified Files:
	pkgsrc/textproc/p5-Text-Template: Makefile distinfo

Log Message:
Updated to version 1.42 (PR#14570). Changes since 1.31:

        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.


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 pkgsrc/textproc/p5-Text-Template/Makefile
cvs rdiff -r1.2 -r1.3 pkgsrc/textproc/p5-Text-Template/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.