Skip to content

Commit 47b0526

Browse files
committed
[io grant] Explicitly spell out caveats of IO::Path.Str
1 parent 923ea05 commit 47b0526

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

doc/Type/IO/Path.pod6

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,11 @@ values the return values of the methods with the same names.
240240
241241
method Str(IO::Path:D: --> Str)
242242
243-
Alias for L«C<IO::Path.path>|/routine/path».
243+
Alias for L«C<IO::Path.path>|/routine/path». In particular, note that default
244+
stringification of an C<IO::Path> does B<NOT> use the value of
245+
L«C<$.CWD> attribute|type/IO::Path#attribute_CWD». To stringify while
246+
retaining full path infomation use L«C<.absolute>|/routine/absolute» or
247+
L«C<.relative>|/routine/relative» methods.
244248
245249
=head2 method open
246250

0 commit comments

Comments
 (0)