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.122.tar.gz 0000098664 96.4 KB
cpanspec.yml 0000000547 547 Bytes
perl-Path-Tiny.changes 0000023071 22.5 KB
perl-Path-Tiny.spec 0000003156 3.08 KB
Revision 51 (latest revision is 61)
Dirk Stoecker's avatar Dirk Stoecker (dstoecker) accepted request 947253 from Tina Müller's avatar Tina Müller (tinita) (revision 51)
- updated to 0.122
   see /usr/share/doc/packages/perl-Path-Tiny/Changes
  0.122     2022-01-16 10:05:08-05:00 America/New_York
      - No changes from 0.121-TRIAL.
  0.121     2022-01-08 11:05:33-05:00 America/New_York (TRIAL RELEASE)
      [Additions]
      - Adds `size` and `size_human` methods.  The latter gives `ls -lh` style
        output, with options to choose base2 or base10 forms.
Comments 0
openSUSE Build Service is sponsored by