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

Changes for version 0.141 - 2022-11-07 (TRIAL RELEASE)

  • Testing
    • Add additional tilde expansion tests

Changes for version 0.139 - 2022-11-03 (TRIAL RELEASE)

  • Testing
    • Skip a problematic test case on cygwin

Changes for version 0.137 - 2022-11-02 (TRIAL RELEASE)

  • Testing
    • Add additional tilde stringification testing.

Changes for version 0.135 - 2022-11-01 (TRIAL RELEASE)

  • Testing
    • Fixed additional issues with tilde expansion tests on Windows for testers with lowercase drive letters in their userprofile.

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

  • Bug fixes
    • Path stringification now adds "./" in front of paths starting with literal tilde so they will round-trip. FREEZE updated to use this stringification rule as well.
  • Changes
    • `move` now uses File::Copy::move internally instead of the built-in `rename`, allowing it to work across filesystems. It also returns an object for the moved location, allowing chaining.
  • Testing
    • Fixed tilde expansion tests on Windows.

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