libfile-pushd-perl 1.016-ok2 source package in openKylin
Changelog
libfile-pushd-perl (1.016-ok2) yangtze; urgency=medium * Modify debian/control. -- denghao <email address hidden> Thu, 15 Sep 2022 12:33:26 +0300
libfile-pushd-perl (1.016-ok2) yangtze; urgency=medium * Modify debian/control. -- denghao <email address hidden> Thu, 15 Sep 2022 12:33:26 +0300
Series | Published | Component | Section | |
---|---|---|---|---|
Huanghe V3.0 | proposed | main | perl | |
Huanghe V3.0 | release | main | perl | |
Nile V2.0 | proposed | main | perl | |
Nile V2.0 | release | main | perl | |
Yangtze V1.0 | release | main | perl | |
Yangtze V1.0 | proposed | main | perl |
File | Size | SHA-256 Checksum |
---|---|---|
libfile-pushd-perl_1.016.orig.tar.gz | 19.3 KiB | d73a7f09442983b098260df3df7a832a5f660773a313ca273fa8b56665f97cdc |
libfile-pushd-perl_1.016-ok2.debian.tar.xz | 5.6 KiB | 3a61508099f2e9692280cebb77cbba406a59764468a65231b9954b59d364b587 |
libfile-pushd-perl_1.016-ok2.dsc | 1.8 KiB | 92e72a76700f6c6c6aeb5f9989bd1bf891c146992af5234599fc05703b16e8bb |
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.