Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

perl-lib-relative-1.2.0-2.mga10 RPM for noarch

From Mageia Cauldron for armv7hl / media / core / release

Name: perl-lib-relative Distribution: Mageia
Version: 1.2.0 Vendor: Mageia.Org
Release: 2.mga10 Build date: Sat Jun 28 16:32:03 2025
Group: Development/Perl Build host: localhost
Size: 24863 Source RPM: perl-lib-relative-1.2.0-2.mga10.src.rpm
Packager: umeabot <umeabot>
Url: https://metacpan.org/release/lib-relative
Summary: Add paths relative to the current file to @INC
Adding a path to perlvar/"@INC" 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 '@INC' 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 '@INC' 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 perldata/"Special Literals", make it
absolute, and add it to '@INC'.

If this module is already available to be loaded, it can be used as with
the lib manpage.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.

Provides

Requires

License

GPLv1+ or Artistic

Changelog

* Sat Jun 28 2025 umeabot <umeabot> 1.2.0-2.mga10
  + Revision: 2218614
  - Mageia 10 Mass Rebuild
* Tue Aug 29 2023 tv <tv> 1.2.0-1.mga10
  + Revision: 1981043
  - update to 1.002

Files

/usr/share/doc/perl-lib-relative
/usr/share/doc/perl-lib-relative/Changes
/usr/share/doc/perl-lib-relative/INSTALL
/usr/share/doc/perl-lib-relative/LICENSE
/usr/share/doc/perl-lib-relative/META.json
/usr/share/doc/perl-lib-relative/META.yml
/usr/share/doc/perl-lib-relative/MYMETA.yml
/usr/share/doc/perl-lib-relative/README
/usr/share/man/man3/lib::relative.3pm.xz
/usr/share/perl5/vendor_perl/lib
/usr/share/perl5/vendor_perl/lib/relative.pm


Generated by rpm2html 1.8.1

Fabrice Bellet, Sun Jun 29 02:18:05 2025