perl-File-pushd - change directory temporarily for a limited scope

Property Value
Distribution openSUSE Leap 42.2
Repository openSUSE Oss all
Package name perl-File-pushd
Package version 1.009
Package release 4.1
Package architecture noarch
Package type rpm
Installed size 35.63 KB
Download size 20.54 KB
Official Mirror
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 the File::Temp manpage.
For convenience, the object stringifies as the canonical form of the
absolute pathname of the directory entered.
*Warning*: if you create multiple 'pushd' objects in the same lexical
scope, their destruction order is not guaranteed and you might not wind up
in the directory you expect.


Package Version Architecture Repository
perl-File-pushd - - -


Name Value
perl(:MODULE_COMPAT_5.18.2) -
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsLzma) <= 4.4.6-1


Name Value
perl(File::pushd) = 1.009
perl-File-pushd = 1.009-4.1


Type URL
Binary Package perl-File-pushd-1.009-4.1.noarch.rpm
Source Package perl-File-pushd-1.009-4.1.src.rpm

Install Howto

Install perl-File-pushd rpm package:

# zypper install perl-File-pushd

See Also

Package Description
perl-FileHandle-Unget-0.1628-4.1.noarch.rpm FileHandle which supports multi-byte unget
perl-Filesys-Df-0.92-19.2.x86_64.rpm Perl extension for filesystem disk space information
perl-Filesys-Notify-Simple-0.12-6.1.noarch.rpm Simple and dumb file system watcher
perl-Finance-Quote-1.37-1.1.noarch.rpm Get stock and mutual fund quotes from various exchanges
perl-FindBin-Real-1.05-17.1.noarch.rpm Locate directory of original perl script
perl-Font-AFM-1.20-53.1.x86_64.rpm Interface to Adobe Font Metrics Files
perl-Font-FreeType-0.07-1.2.x86_64.rpm Read Font Files and Render Glyphs From Perl Using Freetype2
perl-Font-TTF-1.05-4.1.noarch.rpm Perl module for TrueType Font hacking
perl-FreezeThaw-0.5001-22.1.x86_64.rpm Converting Perl structures to strings and back
perl-Future-0.33-2.1.noarch.rpm Represent an Operation Awaiting Completion
perl-GD-2.56-1.1.x86_64.rpm Interface to Gd Graphics Library
perl-GD-Barcode-1.15-28.1.noarch.rpm Create barcode image with GD
perl-GD-Graph3d-0.63-2.1.x86_64.rpm 3d extension for perl-GDGraph
perl-GDGraph-1.48-4.1.noarch.rpm Package to generate charts, using Lincoln Stein's
perl-GDTextUtil-0.86-101.1.noarch.rpm GDTextUtil Perl module