- New upstream release 0.037
- No longer lists 'threads' as a prerequisite; if you have a threaded perl,
you have it and if you've not, Path::Tiny doesn't care
- Fixed for v5.8
- New upstream release 0.034
- Exceptions are now Path::Tiny::Error objects, not autodie exceptions; this
removes the last dependency on autodie, which allows us to support Perls as
far back as v5.8.1
- BSD/NFS flock fix was not backwards compatible before v5.14; this fixes it
harder
- Lowered ExtUtils::MakeMaker configure_requires version to 6.17
- New upstream release 0.033
- Perl on BSD may not support locking on an NFS filesystem: if this is
detected, Path::Tiny warns and continues in an unsafe mode (the 'flock'
warning category may be fatalized to die instead)
- Added 'iterator' example showing defaults
This module attempts to provide a small, fast utility for working with file
paths. It is friendlier to use than File::Spec and provides easy access to
functions from several other core file handling modules.
It doesn't attempt to be as full-featured as IO::All or Path::Class, nor does
it try to work for anything except Unix-like and Win32 platforms. Even then, it
might break if you try something particularly obscure or tortuous.
All paths are forced to have Unix-style forward slashes. Stringifying the
object gives you back the path (after some clean up).
File input/output methods flock handles before reading or writing, as
appropriate.
The *_utf8 methods (slurp_utf8, lines_utf8, etc.) operate in raw mode without
CRLF translation.
It uses autodie internally, so most failures will be thrown as exceptions.