p5.32-file-pushd (perl/p5-file-pushd) Updated: 2 years, 10 months ago 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

19 build(s) found
Builder Build Number Start Time Elapsed Time Watcher Build Status
10.12 204254 2022-11-08 2:17:37 0:01:10 63182 build successful
12.arm64 7046 2021-11-07 1:49:38 0:00:23 538 build successful
10.10 146809 2021-06-27 16:34:29 0:01:13 46918 build successful
10.13 114772 2021-06-26 10:39:35 0:01:15 37796 build successful
10.6.x86_64 62215 2021-06-25 17:04:46 0:01:33 19284 build successful
10.15 63614 2021-06-24 7:53:22 0:01:51 17577 build successful
10.14 92229 2021-06-23 14:51:40 0:01:32 28565 build successful
10.9 150895 2021-06-23 12:16:03 0:01:12 46599 build successful
11 37057 2021-06-23 10:21:34 0:02:09 7369 build successful
10.8 52499 2021-06-22 17:55:06 0:01:04 17233 build successful
10.7 59042 2021-06-22 17:38:12 0:01:06 19371 build successful
10.11 145391 2021-06-22 13:19:10 0:01:40 46851 build successful
10.12 150301 2021-06-22 8:41:12 0:01:23 45843 build successful
10.15 61767 2021-06-22 6:10:44 0:00:15 17499 failed install-dependencies
10.14 90401 2021-06-22 2:15:17 0:00:12 28504 failed install-dependencies
11 35217 2021-06-21 11:48:42 0:00:18 7308 failed install-dependencies
10.6.x86_64 61210 2021-06-21 8:41:38 0:00:10 19261 failed install-dependencies
10.7 57222 2021-06-21 4:27:24 0:00:08 19319 failed install-dependencies
10.8 50677 2021-06-21 3:31:54 0:00:07 17181 failed install-dependencies