Fedora Packages

perl-Cwd-Guard

Temporarily change the current directory

Cwd::Guard can change the current directory (chdir) using a limited scope. use Cwd::Guard qw/cwd_guard/; use Cwd; my $dir = getcwd; MYBLOCK: { my $guard = cwd_guard('/tmp/xxxxx') or die "failed chdir: $Cwd::Guard::Error"; ... # chdir to /tmp/xxxxx } ... # back to $dir

Releases Overview

Release Stable Testing
Fedora Rawhide 0.05-25.fc40 -
Fedora 40 0.05-25.fc40 -
Fedora 39 0.05-23.fc39 -
Fedora 38 0.05-22.fc38 -
EPEL 9 0.05-12.el9 -
EPEL 8 0.05-11.el8 -
EPEL 7 0.04-2.el7 -
File a new bug report »
Package Info

You can contact the maintainers of this package via email at perl-Cwd-Guard dash maintainers at fedoraproject dot org.



Sources on Pagure