Path to this page:
./
filesystems/p5-Path-Tiny,
Perl5 file path utility
Branch: pkgsrc-2016Q2,
Version: 0.088nb1,
Package name: p5-Path-Tiny-0.088nb1,
Maintainer: pkgsrc-usersThis 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. (Quick! What does this mean: ///../../..//./././a//b/.././c/././?
And how does it differ on Win32?)
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. Installing Unicode::UTF8 0.58 or later will speed
up several of them and is highly recommended.
It uses autodie internally, so most failures will be thrown as exceptions.
Required to build:[
devel/p5-File-pushd] [
devel/p5-Test-FailWarnings] [
devel/p5-Test-Deep] [
devel/p5-Test-Fatal] [
devel/p5-Devel-Hide]
Master sites: (Expand)
SHA1: b70837699dfb1ffc12b8e8f8ccbcf7f4e0cff185
RMD160: 4b2bd76b5ca5ab69bd0d7a313c33d0619bb560f0
Filesize: 87.746 KB
Version history: (Expand)
- (2016-07-07) Package has been reborn
- (2016-07-06) Package added to pkgsrc.se, version p5-Path-Tiny-0.088nb1 (created)