Source Package: perl-Cwd-Guard (0.05-28.fc43)
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
Package information
- Homepage
- [https://metacpan.org/release/Cwd-Guard]
- License
- GPL-1.0-or-later OR Artistic-1.0-Perl
- Mainteneur du paquet aval
- pghmcfcObserved Nov 20, 2026 [source]
The following binary packages are built from this source package:
- perl-Cwd-Guard
Temporarily change the current directory
