The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Sys::Pushd - change directory temporarily

SYNOPSIS

 use Sys::Pushd;
 {
   my $ignore=new Sys::Pushd '../new/dir';
   # Cwd is ../new/dir
 }
 # After block exit, cwd is restored

DESCRIPTION

Synopsis pretty much says it all. Based conceptually on SelectSaver.

Multiple directories may be given, in which case they will be chdird to in order encountered.

BUGS

Will break if immediate-destruction of objects ever ceases to be reliable in Perl.

AUTHORS

J. Glick jglick@sig.bsh.com.

REVISION

Sys-Pushd/lib/Sys/Pushd.pm last modified Tue, 09 Sep 1997 17:07:06 -0400 release 0.001. Copyright (c) 1997 Strategic Interactive Group. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.