Path to this page:
Subject: CVS commit: pkgsrc/textproc/p5-Text-Template
From: Wen Heping
Date: 2018-02-20 11:07:47
Message id: 20180220100747.C08D8FB40@cvs.NetBSD.org
Log Message:
Update to 1.50
Upstream changes:
1.50 2018-02-10
*** Revert support for identical start/end delimiters (e.g.: @@foo@@, XXfooXX)
due to breakage with nested tags (see
https://github.com/mschout/perl-text-template/issues/8). Will revisit
this in a future release.
1.49 2018-02-07
- Fix failing tests in v1.48 under perl < 5.8.9
1.48 2018-02-07
- remove COPYING and Artistic files from the dist. These are replaced by
the Dist::Zilla generated LICENSE file.
- use strict/warnings (thanks Mohammad S Anwar)
- remove $VERSION checks from tests. This makes it easier to run the test
with Dist::Zilla and avoids maintenance issue of updating the tests for
each release (Thanks Andrew Ruder).
- Allow precompiled templates to work with preprocessing [#29928] (Thanks
Nik LaBelle)
- Add "strict" option to fill_in(). This adds "use \
strict" and "use vars
(...)" to the prepend section, and only the keys of the HASH option are
allowed in the template. (Thanks Desmond Daignault, Kivanc Yazan, CJM)
[55696]
- Fix templates with inline comments without newline after comment for perl
< 5.18 [34292]
- Don't use bareword file handles
- use three arg form of open()
- Fix BROKEN behaviour so that it returns the text accumulated so far on
undef as documented [28974]
- Source code cleanups
- Minimum perl version is now 5.8.0
- Allow start/end delimiters to be identical (e.g.: @@foo@@, XXfooXX)
(Thanks mirod) [46639]
- Fix + document the FILENAME parameter to fill_in() (Thanks VDB) [106093]
- Test suite cleanups:
+ turn on strict/warnings for all tests
+ run tests through perltidy and formatting cleanup
+ remove number prefixes from test names
+ use Test::More instead of generating TAP by hand
+ use three-arg form of open()
+ don't use indirect object syntax
+ don't use bareword file handles
+ use File::Temp to generate temporary files
Files: