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

libfile-pushd-perl

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.

This is very handy when working with temporary directories for tasks like testing; a function is provided to streamline getting a temporary directory from File::Temp.

Homepage:
Package version:1.00-1
Architecture:all
Distribution:Debian
Filename:libfile-pushd-perl_1.00-1_all.deb

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

File::pushd(3pm) User Contributed Perl DocumentationFile::pushd(3pm)



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/libfile-pushd-perl/changelog.Debian.gz

libfile-pushd-perl (1.00-1) unstable; urgency=low

  * Initial Release. (Closes: #511580)

 -- Damyan Ivanov <dmn@debian.org>  Mon, 12 Jan 2009 16:09:26 +0200

/usr/share/doc/libfile-pushd-perl/changelog.gz

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/libfile-pushd-perl/Todo

TODO list for Perl module File::pushd

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

/usr/share/doc/libfile-pushd-perl/copyright

Format-Specification:
    http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
Ups
more»

Browse inside libfile-pushd-perl_1.00-1_all.deb

         [DIR]DEBIAN/ (2)  65535+ mirrors
         [DIR]usr/ (1)  65535+ mirrors

Download libfile-pushd-perl_1.00-1_all.deb

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