Package: libdir-self-perl (0.11-2)
Links for libdir-self-perl
Trisquel Resources:
Download Source Package libdir-self-perl:
- [libdir-self-perl_0.11-2.dsc]
- [libdir-self-perl_0.11.orig.tar.gz]
- [libdir-self-perl_0.11-2.debian.tar.xz]
Maintainer:
Original Maintainers:
- Debian Perl Group (Mail Archive)
- gregor herrmann
External Resources:
- Homepage [metacpan.org]
Similar packages:
module providing a __DIR__ constant for the directory of the source file
Perl has two pseudo-constants describing the current location in your source code, __FILE__ and __LINE__. Dir::Self 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 FindBin except it's not limited to the main program, i.e. you can also use it in modules. And it actually works.
Other Packages Related to libdir-self-perl
|
|
|
-
- dep: perl
- Larry Wall's Practical Extraction and Report Language
Download libdir-self-perl
Architecture | Package Size | Installed Size | Files |
---|---|---|---|
all | 5.3 kB | 18 kB | [list of files] |