Home > Repositories > base > perl-File-pushd (i586)

perl-File-pushd: File::pushd - change directory temporarily for a limited scope

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.

For convenience, the object stringifies as the canonical form of the absolute pathname of the directory entered.
Name:perl-File-pushd
Release: 1.016-1mamba
Architecture:i586
Group:System/Libraries/Perl
Size:19.75 kB
Upstream URL:http://www.cpan.org
Source RPM:perl-File-pushd
BrothersProvidesObsoletesRequiresRecommends
perl(File::pushd) = 0:1.016
perl-File-pushd = 0:1.016-1mamba
perl-File-pushd(x86-32) = 0:1.016-1mamba
perl >= 0:5.24.0 [1]
perl(Carp) [1]
perl(Cwd) [1]
perl(Exporter) [1]
perl(File::Path) [1]
perl(File::Spec) [1]
perl(File::Temp) [1]
perl(strict) [1]
perl(warnings) [1]
Provided files