Help for this page
sub some_func { my $saveDir = new PreserveWD; # Do stuff }
package PreserveWD; ... *DESTROY = *back; 1;