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.
- Website: https://metacpan.org/release/File-pushd
- Licenses: ASL 2.0
- Package source: gnu/packages/perl.scm
- Builds: See build status
- Issues: See known issues
perl-file-pushd 1.016 as follows:
guix install firstname.lastname@example.org
Or install the latest version:
guix install perl-file-pushd
You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the
guix shell documentation for more information.