Skip to content

Commit a53015a

Browse files
committed
[io grant] Clarify value of IO::Path.path
1 parent 5aa614f commit a53015a

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
@@ -101,7 +101,11 @@ values the return values of the methods with the same names.
101101
102102
method path(IO::Path:D: --> Str)
103103
104-
Returns the full path as a string.
104+
Returns the string the object was constructed from or the value of
105+
C<$SPEC.join($volume,$dirname,$basename)> if multi-part version of C<.new>
106+
was used. B<NOTE:> this does not include the C<$.CWD>; see
107+
L«C<.absolute>|/routine/absolute» and L«C<.relative>|/routine/relative» for
108+
stringification options that include C<$.CWD>.
105109
106110
=head2 method Str
107111

0 commit comments

Comments
 (0)