local $CWD = $new_dir;.
/J
In reply to Re: cwd module by jplindstrom in thread cwd module by PerlZealot