[ddp] libfile-pushd-perl : change directory temporarily for a limited scope

daily-debian-package at enix.org daily-debian-package at enix.org
Sat Aug 15 12:00:10 CEST 2009


Hello,

Today, I'm happy to present you the Debian package libfile-pushd-perl,
which is part of the perl section, and maintained by Debian Perl Group
<pkg-perl-maintainers at lists.alioth.debian.org>. 

This package contains : 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.


Package homepage     :
 http://packages.debian.org/unstable/perl/libfile-pushd-perl

Package bug homepage :
 http://bugs.debian.org/libfile-pushd-perl

Package QA homepage  :
 http://packages.qa.debian.org/libfile-pushd-perl

Have fun with Debian packages !

-- 
Daily Debian package, by Thomas Petazzoni, thanks to Jérome Petazzoni
Daily-debian-package at the-doors.enix.org
http://the-doors.enix.org/cgi-bin/mailman/listinfo/daily-debian-package
http://thomas.enix.org/DebianPackageDay


More information about the Daily-debian-package mailing list