cpan Path-Tiny 0.054

latest releases: 0.146, 0.145, 0.144...
10 years ago

[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

Don't miss a new Path-Tiny release

NewReleases is sending notifications on new releases.