Help for this page

Select Code to Download


  1. or download this
    use Cwd;
    use File::pushd;
    ...
    # back where we started
    print cwd;
    print join("\n", glob '*');
    
  2. or download this
    use File::pushd;
    
    ...
    }
    
    # automatically back in original dir
    
  3. or download this
    use File::pushd;
    
    ...
    }
    
    # back in the original directory and the temporary directory is delete
    +d