The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 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

Modules

Expand template text with embedded Perl
Expand template text with embedded Perl