- Name: perl-Cwd-Guard
- Version: 0.04
- Release: 2.fc20
- Epoch:
- Group: Unspecified
- License: GPL+ or Artistic
- Url: http://search.cpan.org/dist/Cwd-Guard/
- Summary: Temporarily change the current directory
- Architecture: noarch
- Size: 23817
- Distribution: Fedora Project
- Vendor: Fedora Project
- Packager: Fedora Project
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
- OptFlags: -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=neon -mfloat-abi=hard
- Cookie:
- Buildhost: arm04-builder11.arm.fedoraproject.org