File-pushd
File-pushd
https://metacpan.org/release/File-pushd
module for changing 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.
Download
http://ftp.debian.org/debian/pool/main/libf/libfile-pushd-perl/libfile-pushd-perl_1.009.orig.tar.gz
Categories
Licensing
License
Verified by
Verified on
Notes
License
Verified by
Debian: gregor herrmann <gregoa@debian.org>
Verified on
4 July 2014
Notes
License: apache-2.0
Leaders and contributors
Contact(s) | Role |
---|---|
David A Golden | contact |
Resources and communication
Audience | Resource type | URI |
---|---|---|
Perl (Ref) | https://metacpan.org/release/File-pushd | |
Debian (Ref) (R) | https://tracker.debian.org/pkg/libfile-pushd-perl |
Software prerequisites
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.