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

Changes for version 0.054 - 2014-05-04

  • ADDED
    • The 'basename' method now takes a list of suffixes to remove before returning the name
    • FREEZE/THAW/TO_JSON serialization helpers
  • CHANGED
    • When constructing a Path::Tiny object from another, the original is returned unless it's a temp dir/file. This significantly speeds up calling path($path) if $path is already a Path::Tiny object. (Thanks to Michael Schwern for prompting such benchmarking.)
  • FIXED
    • Constructing any path -- e.g. with child() -- with undef or zero-length parts throws an error instead of constructing an invalid path

Changes for version 0.053 - 2014-03-24 (TRIAL RELEASE)

  • INCOMPATIBLE CHANGES
    • The 'is_file' method now does -e && ! -d and not -f because -f is often more restrictive than people intend or expect.
  • ADDED
    • Added 'chmod' method with symbolic chmod support ("a=r,u+rx")

Modules

File path utility

Provides

in lib/Path/Tiny.pm