Skip to content

Commit b81148c

Browse files
authored
Make wrong code being wrong more obvious
For those who read the code but not the prose
1 parent b8fba97 commit b81148c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/Type/IO.pod6

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ By default, only C<:d> test is performed.
4242
4343
Note that the following construct is a mistake:
4444
45+
# WRONG! DO NOT DO THIS!
4546
my $*CWD = chdir '/tmp/';
4647
4748
Use L«C<indir>|/routine/indir» instead.
@@ -71,6 +72,7 @@ to specify which file tests to perform.
7172
7273
Note that the following construct is a mistake:
7374
75+
# WRONG! DO NOT DO THIS!
7476
my $*CWD = &*chdir('/tmp');
7577
7678
Use the following, instead; or see L«C<indir>|/routine/indir» if

0 commit comments

Comments
 (0)