alle opties
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Bron: libdir-self-perl  ]

Pakket: libdir-self-perl (0.11-4)

Verwijzigingen voor libdir-self-perl

Screenshot

Debian bronnen:

Het bronpakket libdir-self-perl downloaden:

Beheerders:

Externe bronnen:

Vergelijkbare pakketten:

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.

Tags: Softwareontwikkeling: Ontwikkelen in Perl, Bibliotheken, Implemented in: Perl, Role: Shared Library

Andere aan libdir-self-perl gerelateerde pakketten

  • depends
  • recommends
  • suggests
  • enhances

libdir-self-perl downloaden

Pakket downloaden voor alle beschikbare platforms
Platform Pakketgrootte Geïnstalleerde grootte Bestanden
all 5,5 kB19,0 kB [overzicht]