p5.30-file-pushd (perl/p5-file-pushd) Add to my watchlist

change directory temporarily for a limited scope

File::pushd does a temporary chdir that is easily and automatically reverted, similar to pushd in some Unix command shells. It works by creating an object that caches the original working directory. When the object is destroyed, the destructor calls chdir to revert to the original working directory. By storing the object in a lexical variable with a limited scope, this happens automatically at the end of the scope.

Version: 1.16.0 License: Apache-2 GitHub
Reset

8 build(s) found
Builder Build Number Start Time Elapsed Time Watcher Build Status
10.12 204244 2022-11-08 2:04:19 0:01:30 63182 build successful
12.arm64 6912 2021-11-07 0:42:27 0:00:24 538 build successful
10.13 66336 2019-10-11 19:32:05 0:02:02 19155 build successful
10.12 101049 2019-10-11 0:37:10 0:02:01 27176 build successful
10.11 96567 2019-10-11 0:36:02 0:01:59 28195 build successful
10.14 40663 2019-10-11 0:33:12 0:01:56 9871 build successful
10.10 97202 2019-10-10 23:53:59 0:02:05 28237 build successful
10.9 99913 2019-10-10 22:43:20 0:01:52 28181 build successful