- New upstream release 0.044
- Fixed child path construction against the root path
- Fixed path construction when a relative volume is provided as the first
argument on Windows; e.g. path("C:", "lib") must be like path("C:lib"),
not path("C:/lib")
- On AIX, shared locking is replaced by exclusive locking on a R/W
filehandle, as locking read handles is not supported
- New upstream release 0.043
- Calling 'absolute' on Windows will add the volume if it is missing (e.g.
"/foo" will become "C:/foo"); this matches the behavior of
File::Spec->rel2abs
- Fixed t/00-report-prereqs.t for use with older versions of
CPAN::Meta::Requirements
- New upstream release 0.042
- When 'realpath' can't be resolved (because intermediate directories don't
exist), the exception now explains the error clearly instead of complaining
about path() needing a defined, positive-length argument
- On Windows, fixed resolution of relative paths with a volume, e.g. "C:foo"
is now correctly translated into getdcwd on "C:" plus "foo"
- New upstream release 0.040
- The 'filehandle' method now offers an option to return locked handles
based on the file mode
- The 'filehandle' method now respects default encoding set by the caller's
open pragma
- 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.