perl-Overload-FileCheck-0.009-alt1.1.i586.rpm


Advertisement

Description

perl-Overload-FileCheck - override/mock perl file checks ops

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports i586
Package filename perl-Overload-FileCheck-0.009-alt1.1.i586.rpm
Package name perl-Overload-FileCheck
Package version 0.009
Package release alt1.1
Package architecture i586
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 102.96 KB
Installed size 102.96 KB
Overload::FileCheck provides a hook system to mock Perl filechecks OPs
With this module you can provide your own pure perl code when performing
file checks using one of the -X ops: -e, -f, -z, ...
https://perldoc.perl.org/functions/-X.html
-r  File is readable by effective uid/gid.
-w  File is writable by effective uid/gid.
-x  File is executable by effective uid/gid.
-o  File is owned by effective uid.
-R  File is readable by real uid/gid.
-W  File is writable by real uid/gid.
-X  File is executable by real uid/gid.
-O  File is owned by real uid.
-e  File exists.
-z  File has zero size (is empty).
-s  File has nonzero size (returns size in bytes).
-f  File is a plain file.
-d  File is a directory.
-l  File is a symbolic link (false if symlinks aren't
supported by the file system).
-p  File is a named pipe (FIFO), or Filehandle is a pipe.
-S  File is a socket.
-b  File is a block special file.
-c  File is a character special file.
-t  Filehandle is opened to a tty.
-u  File has setuid bit set.
-g  File has setgid bit set.
-k  File has sticky bit set.
-T  File is an ASCII or UTF-8 text file (heuristic guess).
-B  File is a "binary" file (opposite of -T).
-M  Script start time minus file modification time, in days.
-A  Same for access time.
-C  Same for inode change time (Unix, may differ for other
platforms)
Also view pp_sys.c from the Perl source code, where are defined the original OPs.
In addition it's also possible to mock the Perl OP `stat' and `lstat', read the section on "Mocking stat" section for more details.

Alternatives

Package Version Architecture Repository
perl-Overload-FileCheck-0.009-alt1.1.x86_64.rpm 0.009 x86_64 Autoimports
perl-Overload-FileCheck - - -

Requires

Name Value
/usr/lib/perl5 -
libc.so.6(GLIBC_2.1.3) -
libc.so.6(GLIBC_2.4) -
libperl-5.28.so -
libpthread.so.0(GLIBC_2.0) -
perl(Errno.pm) -
perl(Fcntl.pm) -
perl(XSLoader.pm) -
perl(base.pm) -
perl-base >= 1:5.10.0
rpmlib(PayloadIsLzma) -
rpmlib(SetVersions) -
rtld(GNU_HASH) -

Provides

Name Value
perl(Overload/FileCheck.pm) = 0.009
perl-Overload-FileCheck = 0.009-alt1.1

Download

Type URL
Mirror ftp.altlinux.org
Binary Package perl-Overload-FileCheck-0.009-alt1.1.i586.rpm
Source Package perl-Overload-FileCheck-0.009-alt1.1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus i586 autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Overload-FileCheck rpm package:
    # sudo apt-get install perl-Overload-FileCheck

Files

Path
/usr/lib/perl5/Overload/FileCheck.pm
/usr/lib/perl5/auto/Overload/
/usr/lib/perl5/auto/Overload/FileCheck/FileCheck.so
/usr/share/doc/perl-Overload-FileCheck-0.009/Changes
/usr/share/doc/perl-Overload-FileCheck-0.009/LICENSE
/usr/share/doc/perl-Overload-FileCheck-0.009/README
/usr/share/doc/perl-Overload-FileCheck-0.009/examples/mock-multiple-filecheck-import.t
/usr/share/doc/perl-Overload-FileCheck-0.009/examples/mock-multiple-filecheck-run.t
/usr/share/doc/perl-Overload-FileCheck-0.009/examples/mock-single-filecheck-at-import.pl
/usr/share/doc/perl-Overload-FileCheck-0.009/examples/mock-single-filecheck.pl
/usr/share/doc/perl-Overload-FileCheck-0.009/examples/mock-stat.pl
/usr/share/doc/perl-Overload-FileCheck-0.009/examples/mock_all_from_stat.t
/usr/share/doc/perl-Overload-FileCheck-0.009/examples/perldoc_mock-all-file-check-trace.t
/usr/share/doc/perl-Overload-FileCheck-0.009/examples/perldoc_mock-all-file-check.t
/usr/share/doc/perl-Overload-FileCheck-0.009/examples/perldoc_mock-stat.t
/usr/share/doc/perl-Overload-FileCheck-0.009/examples/synopsis.pl
/usr/share/doc/perl-Overload-FileCheck-0.009/examples/trace-code.pl

See Also

Package Description
perl-PAB3-3.201-alt4.1.i586.rpm PAB - Perl Application Builder
perl-PAB3-DB-Driver-Sqlite3-1.07-alt4.1.i586.rpm Perl wrapper to Sqlite3
perl-PAM-0.31-alt4.1.i586.rpm Invoke perl code at PAM phases
perl-PApp-SQL-2.002-alt1.i586.rpm absolutely easy yet fast and powerful sql access
perl-PDF-Haru-1.00-alt11_27.i586.rpm Perl interface to Haru Free PDF Library
perl-PDL-CCS-1.23.12-alt1.1.i586.rpm Sparse N-dimensional PDLs with compressed column storage
perl-PDL-Cluster-1.54.001-alt1.1.i586.rpm Perl interface to the C Clustering Library with PDL support
perl-PDL-EditDistance-0.09-alt1.1.i586.rpm Compute Wagner-Fischer edit distance and alignment matrices on PDLs
perl-PDL-Fit-Levmar-0.0100-alt1.1.i586.rpm Nonlinear fit and optimization routines for pdl
perl-PDL-GA-0.08-alt1.1.i586.rpm Genetic algorithm utilities for PDL
perl-PDL-Graphics-ColorDistance-0.0.1-alt1.i586.rpm PDL::Graphics::ColorDistance
perl-PDL-Graphics-ColorSpace-0.1.0-alt1.i586.rpm PDL-Graphics-ColorSpace
perl-PDL-HMM-0.06005-alt1.1.i586.rpm PDL Hidden Markov Model utilities
perl-PDL-IO-Image-1.001-alt1.1.i586.rpm Load/save bitmap from/to PDL (via FreeImage library)
perl-PDL-Ngrams-0.10-alt1.1.i586.rpm N-Gram utilities for PDL
Advertisement
Advertisement