This package browser is in early development. Mind the rough edges.

perl-file-pushd 1.016

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.

Installation

Install perl-file-pushd 1.016 as follows:

guix install perl-file-pushd@1.016

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.