File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -211,8 +211,11 @@ function that mimics the original Perl 5 behaviour as much as possible.
211
211
Works as it does in Perl 5 but B < must > take an argument. The behaviour
212
212
of C < chdir() > (with regards to looking at HOME and LOGDIR) is not supported.
213
213
214
- In Perl 6, C < chdir > only changes the C < $*CWD > dynamic variable. It does
215
- B < not > actually change the default directory from the OS's point of view.
214
+ In Perl 6, L < chdir > only changes the C < $*CWD > dynamic variable. It does
215
+ B < not > actually change the default directory from the OS's point of view; the
216
+ special dynamic-variable routine L « C < &*chdir > |/routine/&*chdir> can be used
217
+ for that, if needed.
218
+
216
219
This is done this way, because there is no concept of a "default directory
217
220
per OS thread". And since Perl 6 does not fork, but only does threading,
218
221
it was felt that the "current directory" concept should be in the C < $*CWD >
You can’t perform that action at this time.
0 commit comments