libdir-self-perl binary package in openKylin Huanghe V3.0 amd64
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.
Publishing history
Date | Status | Target | Component | Section | Priority | Phased updates | Version | ||
---|---|---|---|---|---|---|---|---|---|
2024-10-15 03:20:27 UTC | Published | openKylin Huanghe V3.0 amd64 | release | main | perl | Optional | 0.11-ok2 | ||
|
|||||||||
2024-10-15 03:20:27 UTC | Published | openKylin Huanghe V3.0 amd64 | proposed | main | perl | Optional | 0.11-ok2 | ||
|