unspecified

perl-Cwd-Guard - Temporarily change the current directory

Website: http://search.cpan.org/dist/Cwd-Guard/
License: GPL+ or Artistic
Vendor: 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

Packages

perl-Cwd-Guard-0.04-2.el7.src [14 KiB] Changelog by Paul Howarth (2014-10-07):
- Sanitize for Fedora submission

Listing created by Repoview-0.6.6-1.el6