Help for this page
if ($foo) { ... ... } /* cwd is back to original directory */
if ($foo) { ... ... chdir $old_cwd; }