Filewatcher File Search File Search
Catalog
Content Search
» » » » » »

perl-File-pushd

Change directory temporarily for a limited scope

File::pushd does a temporary chdir that is easily and automatically reverted, similar to pushd in some Unix command shells. It works by creating an object that caches the original working directory. When the object is destroyed, the destructor calls chdir to revert to the original working directory. By storing the object in a lexical variable with a limited scope, this happens automatically at the end of the scope.
Homepage:
Package version:1.00
Architecture:noarch
Distribution:CentOS
Filename:perl-File-pushd-1.00-3.1.el6.noarch.rpm

/usr/share/doc/perl-File-pushd-1.00/README

NAME
    File::pushd - change directory temporarily for a limited scope

VERSION
    This documentation describes version 1.00.

SYNOPSIS
      use File::pushd;
 
      chdir $ENV{HOME};
 
      # change directory again for a limited scope
      {
          my $dir = pushd( '/tmp' );
          # working directory changed to /tmp
      }
      # working directory has reverted to $ENV{HOME}
 
      
more»

/usr/share/man/man3/File::pushd.3pm.gz

File::pushd(3)   User Contributed Perl Documentation  File::pushd(3)



NAME
       File::pushd - change directory temporarily for a limited
       scope

VERSION
       This documentation describes version 1.00.

SYNOPSIS
         use File::pushd;

         chdir $ENV{HOME};

         # change directory again for a limited scope
         {
             my $dir = pushd( '/tmp' );
             # wo
more»

/usr/share/doc/perl-File-pushd-1.00/Changes

Revision history for Perl module File::pushd

1.00 Tue Sep 25 08:19:30 EDT 2007
    - changed to the Apache License, version 2.0; (it's clearer, relicensable,
      and is explicit about contributions)
    - moved pod/coverage tests to xt/ 
    - preserve() will preserve a temporary directory beyond the program end
      (by design rather than due to bug RT#21953 in File::Temp); added 
      tests
more»

/usr/share/doc/perl-File-pushd-1.00/Todo

TODO list for Perl module File::pushd

- use tempdir with CLEANUP=>0 so we can actually preserve dir
more»

/usr/share/doc/perl-File-pushd-1.00/LICENSE

                                 Apache License
                           Version 2.0, January 2004
more»

Browse inside perl-File-pushd-1.00-3.1.el6.noarch.rpm

1.06 KB2014-11-27HEADER  view  142 mirrors
         [DIR]usr/ (1)  65535+ mirrors

Download perl-File-pushd-1.00-3.1.el6.noarch.rpm

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016 FileWatcher.com