perl-Cwd-Guard - Temporarily change the current directory
| Website: | http://search.cpan.org/dist/Cwd-Guard/ | 
|---|---|
| License: | GPL+ or Artistic | 
| Vendor: | Alcance Libre, Inc. | 
- 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
Packages
| perl-Cwd-Guard-0.05-6.fc14.al.noarch [15 KiB] | Changelog
              by Fedora Release Engineering (2018-02-08): - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild |