BSD Ports

filesystems/p5-Path-Tiny 0.150nb1 NetBSD

Perl5 file path utility

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
618415630a
License
apache-2.0
Categories
filesystems, devel, perl5
Package size
36.6 KiB, 181.5 KiB installed

Description

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. (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.

In the other systems

SystemPortVersion
NetBSDfilesystems/p5-Path-Tiny0.150nb1
FreeBSDdevel/p5-Path-Tiny0.150
OpenBSDdevel/p5-Path-Tiny0.150
DragonFlydevel/p5-Path-Tiny0.146
MidnightBSDdevel/p5-Path-Tiny0.150
HardenedBSDdevel/p5-Path-Tiny0.150
GhostBSDdevel/p5-Path-Tiny0.150

Install

Binary package:

pkgin install p5-Path-Tiny

From pkgsrc:

cd /usr/pkgsrc/filesystems/p5-Path-Tiny && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.150nb1
NetBSD 10.1 aarch640.150
SmartOS / illumos x86_640.150nb1
macOS 15 arm640.150nb1

Dependencies

Run dependencies 1

Commit history 1

DateCommitCreditsLog message
618415630a wiz *: recursive bump for perl5 5.44.0