Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Dir-Self | Distribution: Mageia |
Version: 0.110.0 | Vendor: Mageia.Org |
Release: 10.mga8 | Build date: Wed Feb 12 05:33:33 2020 |
Group: Development/Perl | Build host: localhost |
Size: 7211 | Source RPM: perl-Dir-Self-0.110.0-10.mga8.src.rpm |
Packager: umeabot <umeabot> | |
Url: http://search.cpan.org/dist/Dir-Self | |
Summary: A __DIR__ constant for the directory your source file is in |
Perl has two pseudo-constants describing the current location in your source code, '__FILE__' and '__LINE__'. This module adds '__DIR__', which expands to the directory your source file is in, as an absolute pathname. This is useful if your code wants to access files in the same directory, like helper modules or configuration data. This is a bit like the FindBin manpage except it's not limited to the main program, i.e. you can also use it in modules. And it actually works. As of version 0.10 each use of '__DIR__' recomputes the directory name; this ensures that files in different directories that share the same package name get correct results. If you don't want this, 'use Dir::Self qw(:static)' will create a true '__DIR__' constant in your package that contains the directory name at the point of 'use'.
GPL+ or Artistic
* Wed Feb 12 2020 umeabot <umeabot> 0.110.0-10.mga8 + Revision: 1494046 - Mageia 8 Mass Rebuild + wally <wally> - replace deprecated %makeinstall_std * Wed Sep 19 2018 umeabot <umeabot> 0.110.0-9.mga7 + Revision: 1267283 - Mageia 7 Mass Rebuild
/usr/share/doc/perl-Dir-Self /usr/share/doc/perl-Dir-Self/Changes /usr/share/doc/perl-Dir-Self/META.json /usr/share/doc/perl-Dir-Self/META.yml /usr/share/doc/perl-Dir-Self/MYMETA.yml /usr/share/doc/perl-Dir-Self/README /usr/share/man/man3/Dir::Self.3pm.xz /usr/share/perl5/vendor_perl/Dir /usr/share/perl5/vendor_perl/Dir/Self.pm
Generated by rpm2html 1.8.1
Fabrice Bellet, Sun Oct 13 10:18:22 2024