Home > Repository > base > perl-File-pushd (x86_64)
perl-File-pushd: 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.
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.
For convenience, the object stringifies as the canonical form of the absolute pathname of the directory entered.
Nome: | perl-File-pushd |
Versione: |
1.016-1mamba |
Architettura: | x86_64 |
Gruppo: | System/Libraries/Perl |
Dimensione: | 19,82 kB |
URL di origine: | http://www.cpan.org |
RPM sorgente: | perl-File-pushd |
Collegati | Fornisce | Rende obsoleti | Richiede | Raccomanda |
---|
| perl(File::pushd) = 0:1.016 perl-File-pushd = 0:1.016-1mamba perl-File-pushd(x86-64) = 0:1.016-1mamba
| | perl >= 0:5.24.0 [1] perl(Carp) [1] perl(Cwd) [1] perl(Exporter) [1] perl(File::Path) [1] perl(File::Spec) [1] perl(File::Temp) [1] perl(strict) [1] perl(warnings) [1]
| |
File forniti/usr/lib/perl5/vendor_perl/5.24.0/File/pushd.pm
/usr/lib/perl5/vendor_perl/5.24.0/x86_64-linux-thread-multi/auto/File/pushd
/usr/share/doc/perl-File-pushd-1.016
/usr/share/doc/perl-File-pushd-1.016/LICENSE
/usr/share/man/man3/File::pushd.3pm.gz