Paket: liblib-relative-perl (1.000-2)
Links für liblib-relative-perl
Trisquel-Ressourcen:
Quellcode-Paket liblib-relative-perl herunterladen:
- [liblib-relative-perl_1.000-2.dsc]
- [liblib-relative-perl_1.000.orig.tar.gz]
- [liblib-relative-perl_1.000-2.debian.tar.xz]
Betreuer:
Original Maintainers:
- Debian Perl Group (E-Mail-Archiv)
- gregor herrmann
Externe Ressourcen:
- Homepage [metacpan.org]
Ähnliche Pakete:
module to add paths relative to the current file to @INC
lib::relative proposes a straightforward method to add a relative path to @INC: it takes a path relative to the current file, absolutizes it, and adds it to @INC.
Adding a path to @INC to load modules from a local directory may seem simple, but has a few common pitfalls to be aware of:
Directly adding a relative path to @INC means that any later code that changes the current working directory will change where modules are loaded from.
Additionally, the commonly used FindBin module relies on interpreter state and the path to the original script invoked by the perl interpreter, sometimes requiring workarounds in uncommon cases like generated or embedded code.
Andere Pakete mit Bezug zu liblib-relative-perl
|
|
|
-
- dep: perl
- Larry Wall's Practical Extraction and Report Language
liblib-relative-perl herunterladen
Architektur | Paketgröße | Größe (installiert) | Dateien |
---|---|---|---|
all | 11,1 kB | 31 kB | [Liste der Dateien] |