Name : perl-Cwd-Guard
| |
Version : 0.05
| Vendor : Fedora Project
|
Release : 2.fc25
| Date : 2016-05-15 09:25:26
|
Group : Unspecified
| Source RPM : perl-Cwd-Guard-0.05-2.fc25.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/fedora/linux/releases/25/Everything/x86_64/os/Packages/p |