The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 0.131 - 2022-10-31 (TRIAL RELEASE)

  • *** DEPRECATIONS ***
    • Tilde expansion is deprecated due to inconsistent and bug-prone behavior.
  • Bug fixes
    • Fixed spew/edit to a long filename approaching the filesystem length limit.
    • Internal calls to `print` are checked for possible errors.
    • Internal read calls are checked for errors.
    • Prevent expansion of tildes that are not the very first character (e.g. "./~foo"). Prevent unintentional tilde expansion during internal path processing. Escape non-tilde glob characters before tilde expansion.
  • Changes
    • edit_lines_raw now uses a buffered raw I/O layer. edit_lines_utf8 now prefers PerlIO::utf8_strict, if available.
    • lines_utf8 now consistently uses a buffered I/O layer.
    • open*_utf8 now prefers PerlIO::utf8_strict, if available.
    • slurp_utf8 now consistently uses an unbuffered I/O layer.
  • Documented
    • Changed all raw/UTF-8 layer descriptions in method documentation to match the code.
    • Fixed SYNOPSIS syntax.
    • Documented how to disable TMPDIR when making temp files/dirs.

Modules

File path utility

Provides

in lib/Path/Tiny.pm