Name : perl-Cwd-Guard
| |
Version : 0.05
| Vendor : Fedora Project
|
Release : 12.el9
| Date : 2021-12-27 19:48:52
|
Group : Unspecified
| Source RPM : perl-Cwd-Guard-0.05-12.el9.src.rpm
|
Size : 0.02 MB
| |
Packager : Fedora Project
| |
Summary : Temporarily change the current directory
|
Description :
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
|
RPM found in directory: /packages/linux-pbone/archive.fedoraproject.org/epel/9.1.2023-05-09/Everything/aarch64/Packages/p |