all options
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Source: libdir-self-perl  ]

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

Links for libdir-self-perl

Screenshot

Debian Resources:

Download Source Package libdir-self-perl:

Maintainers:

External Resources:

Similar packages:

modulo che fornisce una costante __DIR__ per la directory del file sorgente

Perl ha due pseudocostanti che descrivono la posizione attuale nel codice sorgente: __FILE__ e __LINE__. Dir::Self aggiunge __DIR__ che viene espansa nella directory, in forma di percorso assoluto, in cui è il file sorgente.

Ciò è utile se si desidera che il codice acceda a file nella stessa directory, come moduli ausiliari o dati di configurazione. È un po' come FindBin tranne per il fatto che non è limitato al programma principale, cioè può anche essere usato nei moduli. E funziona davvero.

Tags: Software Development: Perl Development, Libraries, Implemented in: Perl, Role: Shared Library

Other Packages Related to libdir-self-perl

  • depends
  • recommends
  • suggests
  • enhances

Download libdir-self-perl

Download for all available architectures
Architecture Package Size Installed Size Files
all 5.5 kB19.0 kB [list of files]