Skip to content

Commit 16fd361

Browse files
author
Jan-Olof Hendig
committed
Fixed typo and changed the documentation for the 'path' method
1 parent 9e95b4e commit 16fd361

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/Type/IO/Path.pod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ values the return values of the methods with the same names.
9292
9393
=head2 method path
9494
95-
method path(IO::Path:D:)
95+
method path(IO::Path:D: --> Str)
9696
97-
Returns the invocant.
97+
Returns the full path as a string.
9898
9999
=head2 method Str
100100
@@ -382,7 +382,7 @@ creation time.
382382
383383
my $io = IO::Path.new("/bin/bash");
384384
say $io.SPEC; # (Unix)
385-
say $IO.SPEC.dir-sep; # /
385+
say $io.SPEC.dir-sep; # /
386386
387387
=head1 File Test operators
388388

0 commit comments

Comments
 (0)