perl-Dir-Self - A __DIR__ constant for the directory your source file is in

Property Value
Distribution Mageia 4.1
Repository Mageia Core i586
Package name perl-Dir-Self
Package version 0.110.0
Package release 2.mga4
Package architecture noarch
Package type rpm
Installed size 7.55 KB
Download size 9.70 KB
Official Mirror
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'.


Package Version Architecture Repository
perl-Dir-Self-0.110.0-2.mga4.noarch.rpm 0.110.0 noarch Mageia Core
perl-Dir-Self - - -


Name Value
perl(Carp) -
perl(File::Spec) -
perl(strict) -
perl-base >= 2:5.18.1


Name Value
perl(Dir::Self) == 0.110.0
perl-Dir-Self == 0.110.0-2.mga4


Type URL
Binary Package perl-Dir-Self-0.110.0-2.mga4.noarch.rpm
Source Package perl-Dir-Self-0.110.0-2.mga4.src.rpm

Install Howto

  1. Enable Mageia Core repository on Install and Remove Software
  2. Update packages list:
    # urpmi.update -a
  3. Install perl-Dir-Self rpm package:
    # urpmi perl-Dir-Self




2013-10-19 - umeabot <umeabot> 0.110.0-2.mga4
+ Revision: 534049
- Mageia 4 Mass Rebuild
2013-09-08 - sander85 <sander85> 0.110.0-1.mga4
+ Revision: 476098
- update to 0.11
2013-01-13 - umeabot <umeabot> 0.100.0-2.mga3
+ Revision: 365964
- Mass Rebuild -
2011-01-21 - jquelin <jquelin> 0.100.0-1.mga1
+ Revision: 28503
- mageia rebuild
- imported package perl-Dir-Self

See Also

Package Description
perl-Directory-Iterator-1.1.0-2.mga4.noarch.rpm No summary found
perl-Directory-Iterator-PP-1.1.4-2.mga4.noarch.rpm Recursively list file contents
perl-Directory-Scratch-0.150.0-2.mga4.noarch.rpm Perl Module to generate self-cleaning scratch space for tests
perl-Directory-Scratch-Structured-0.40.0-3.mga4.noarch.rpm creates temporary files and directories from a structured description
perl-Directory-Transactional-0.90.0-3.mga4.noarch.rpm Traverse files in L<Directory::Transactional>
perl-Dist-CheckConflicts-0.90.0-2.mga4.noarch.rpm Declare version conflicts for your dist
perl-Dist-Zilla-4.300.39-2.mga4.noarch.rpm Something that provides a version number for the dist
perl-Dist-Zilla-App-Command-cover-1.101.1-3.mga4.noarch.rpm Code coverage metrics for your distribution
perl-Dist-Zilla-App-Command-podpreview-0.4.0-2.mga4.noarch.rpm Preview munged pod in browser
perl-Dist-Zilla-App-Command-pot-1.112.680-3.mga4.noarch.rpm Update i18n messages.pot file with new strings
perl-Dist-Zilla-App-Command-weaverconf-0.20.0-2.mga4.noarch.rpm Extract your distribution's Pod::Weaver configuration
perl-Dist-Zilla-BeLike-CSJEWELL-0.901.0-3.mga4.noarch.rpm Build a modern dist like CSJEWELL does it
perl-Dist-Zilla-Config-Slicer-0.200.0-3.mga4.noarch.rpm Pass Portions of Bundle Config to Plugins
perl-Dist-Zilla-Deb-0.40.0-2.mga4.noarch.rpm Build and release debian package
perl-Dist-Zilla-LocaleTextDomain-0.860.0-2.mga4.noarch.rpm No summary found