perl-Path-Tiny

Edit Package perl-Path-Tiny

This module attempts to provide a small, fast utility for working with file paths. It is friendlier to use than the File::Spec manpage and provides easy access to functions from several other core file handling modules.

It doesn't attempt to be as full-featured as the IO::All manpage or the Path::Class manpage, 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 the Unicode::UTF8 manpage 0.58 or later will speed up several of them and is highly recommended.

Refresh
Refresh
Source Files
Filename Size Changed
Path-Tiny-0.130.tar.gz 0000100807 98.4 KB
cpanspec.yml 0000000547 547 Bytes
perl-Path-Tiny.changes 0000024543 24 KB
perl-Path-Tiny.spec 0000003156 3.08 KB
Revision 54 (latest revision is 61)
Dirk Stoecker's avatar Dirk Stoecker (dstoecker) accepted request 1034228 from Tina Müller's avatar Tina Müller (tinita) (revision 54)
- updated to 0.130
   see /usr/share/doc/packages/perl-Path-Tiny/Changes
  0.130     2022-10-20 07:08:01-04:00 America/New_York
      [Bug fixes]
      - mkdir no longer fails when applied to an existing directory.
  0.128     2022-10-19 15:32:39-04:00 America/New_York
      - No changes from 0.127-TRIAL.
  0.127     2022-10-05 17:17:36-04:00 America/New_York (TRIAL RELEASE)
      [Testing]
      - Fixed has_same_bytes test for Windows.
  0.125     2022-09-30 17:08:36-04:00 America/New_York (TRIAL RELEASE)
      [*** DEPRECATIONS ***]
      - The 'mkpath' method is deprecated in favor of 'mkdir'.
      [Additions]
      - Added 'mkdir' to replace 'mkpath', but returning the path object for chaining.
      - Added `has_same_bytes` to efficiently compare the contents of two files.
      [Documentation]
      - Edited SYNOPSIS
Comments 0
openSUSE Build Service is sponsored by