libdir-self-perl 0.11-2 (armhf binary) in ubuntu jammy
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.
Details
- Package version:
- 0.11-2
- Status:
- Published
- Component:
- universe
- Priority:
- Optional
Downloadable files
amd64 build of libdir-self-perl 0.11-2 in ubuntu artful PROPOSED produced
these files:
- libdir-self-perl_0.11-2_all.deb (5.3 KiB)
Package relationships
- Depends on: