libfile-pushd-perl 1.016-ok1 source package in openKylin
Changelog
libfile-pushd-perl (1.016-ok1) yangtze; urgency=medium * Build for openKylin. -- openKylinBot <email address hidden> Mon, 25 Apr 2022 22:03:04 +0800
libfile-pushd-perl (1.016-ok1) yangtze; urgency=medium * Build for openKylin. -- openKylinBot <email address hidden> Mon, 25 Apr 2022 22:03:04 +0800
Series | Published | Component | Section |
---|
File | Size | SHA-256 Checksum |
---|---|---|
libfile-pushd-perl_1.016.orig.tar.gz | 19.3 KiB | d73a7f09442983b098260df3df7a832a5f660773a313ca273fa8b56665f97cdc |
libfile-pushd-perl_1.016-ok1.debian.tar.xz | 2.1 KiB | 7447f72bdfccd7457ad6f5ea8836adfa2bffe4d6aa1babe484a4139c663a0282 |
libfile-pushd-perl_1.016-ok1.dsc | 1.9 KiB | afd3482fb0b77788fc99f7eec474534e631bdbfbd8e67ff3157bf2f4890991a0 |
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.