Paketname | libfile-sharedir-par-perl |
Beschreibung | File::ShareDir with PAR support |
Archiv/Repository | Offizielles Ubuntu Archiv lucid (universe) |
Version | 0.05-1 |
Sektion | universe/perl |
Priorität | optional |
Installierte Größe | 72 Byte |
Hängt ab von | perl (>= 5.005), libparams-util-perl (>= 0.07), libfile-sharedir-perl (>= 1.0), libclass-inspector-p |
Empfohlene Pakete | |
Paketbetreuer | Ubuntu MOTU Developers |
Quelle | |
Paketgröße | 10148 Byte |
Prüfsumme MD5 | 4c40204a7fd3145fb39c456a6c153470 |
Prüfsumme SHA1 | 429f25717954d4f706f9ef916c0b65d82a7cfeac |
Prüfsumme SHA256 | 49b8030642f3e8b8af8e42909903b4b300965ceed738b0cd58333516a12066dd |
Link zum Herunterladen | libfile-sharedir-par-perl_0.05-1_all.deb |
Ausführliche Beschreibung | File::ShareDir::PAR provides the same functionality as File::ShareDir
but tries hard to be compatible with PAR packaged applications.
.
The problem is, that the concept of having a distribution or module
specific share directory becomes a little hazy when you're loading
everything from a single file. PAR uses an @INC hook to intercept any
attempt to load a module. File::ShareDir uses the directory structure
that is typically found in the directories that are listed in @INC for
storing the shared data. In a PAR enviroment, this is not necessarily
possible.
.
When you call one of the functions that this module provides, it will
take care to search in any of the currently loaded .par files before
scanning @INC. This is the same order of preference you get for loading
modules when PAR is in effect. If the path or file you are asking for
is found in one of the loaded .par files, that containing .par file is
extracted and the path returned will point to the extracted copy on disk.
.
Depending on how you're using PAR, the files that are extracted this
way are either cleaned up after program termination or cached for
further executions. Either way, you're safe if you use the shared data
as read-only data. If you write to it, your changes may be lost after
the program ends.
|