SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-lib-relative rpm build for : OpenSuSE. For other distributions click perl-lib-relative.

Name : perl-lib-relative
Version : 1.2.0 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : 150500.10.1 Date : 2024-03-13 22:23:34
Group : Unspecified Source RPM : perl-lib-relative-1.2.0-150500.10.1.src.rpm
Size : 0.02 MB
Packager : https://www_suse_com/
Summary : Add paths relative to the current file to @INC
Description :
Adding a path to AATTINC to load modules from a local directory may seem
simple, but has a few common pitfalls to be aware of. Directly adding a
relative path to \'AATTINC\' means that any later code that changes the current
working directory will change where modules are loaded from. This applies
to the \'.\' path that used to be in \'AATTINC\' by default until perl 5.26.0, or
a relative path added in code like \'use lib \'path/to/lib\'\', and may be a
vulnerability if such a location is not supposed to be writable.
Additionally, the commonly used FindBin module relies on interpreter state
and the path to the original script invoked by the perl interpreter,
sometimes requiring workarounds in uncommon cases like generated or
embedded code. This module proposes a more straightforward method: take a
path relative to the current file, absolutize it, and add it to \'AATTINC\'.

If this module is already available to be loaded, it can be used as with
lib.pm, passing relative paths, which will be absolutized relative to the
current file then passed on to lib. Multiple arguments will be separately
absolutized, and absolute paths will be passed on unchanged.

For cases where this module cannot be loaded beforehand, the last section
of the \"SYNOPSIS\" can be copy-pasted into a file to perform the same task.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/SLE_15_SP5/noarch

Content of RPM  Changelog  Provides Requires

Download
ftp.icm.edu.pl  perl-lib-relative-1.2.0-150500.10.1.noarch.rpm
     

Provides :
perl(lib::relative)
perl-lib-relative

Requires :
perl(:MODULE_COMPAT_5.26.1)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.26.1/lib
/usr/lib/perl5/vendor_perl/5.26.1/lib/relative.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/usr/share/doc/packages/perl-lib-relative
/usr/share/doc/packages/perl-lib-relative/CONTRIBUTING.md
/usr/share/doc/packages/perl-lib-relative/Changes
/usr/share/doc/packages/perl-lib-relative/README
/usr/share/licenses/perl-lib-relative
/usr/share/licenses/perl-lib-relative/LICENSE
/usr/share/man/man3/lib::relative.3pm.gz

 
ICM