Paketname | libfile-pushd-perl |
Beschreibung | change directory temporarily for a limited scope |
Archiv/Repository | Offizielles Debian Archiv squeeze (main) |
Version | 1.00-1 |
Sektion | perl |
Priorität | optional |
Installierte Größe | 84 Byte |
Hängt ab von | perl (>= 5.6.0-16) |
Empfohlene Pakete | |
Paketbetreuer | Debian Perl Group |
Quelle | |
Paketgröße | 10416 Byte |
Prüfsumme MD5 | ec858254341eef00b758e1cb542a6495 |
Prüfsumme SHA1 | fecacf6befaa536299527e4eaa835dfda01396fa |
Prüfsumme SHA256 | 42aabb7ee9851ebfcca6f0812bcbb7d1359fb79ae555cfdddab406d935260cf4 |
Link zum Herunterladen | libfile-pushd-perl_1.00-1_all.deb |
Ausführliche Beschreibung | File::pushd does a temporary chdir that is easily and automatically reverted,
similar to pushd in some Unix command shells. It works by creating an object
that caches the original working directory. When the object is destroyed, the
destructor calls chdir to revert to the original working directory. By
storing the object in a lexical variable with a limited scope, this happens
automatically at the end of the scope.
.
This is very handy when working with temporary directories for tasks like
testing; a function is provided to streamline getting a temporary directory
from File::Temp.
|