Skip to content

Commit a624714

Browse files
committed
Right another attempt at rephrasing the behavior of unlink refs #2096
1 parent 6e17351 commit a624714

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

doc/Type/IO/Path.pod6

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,11 +1009,10 @@ Defined as:
10091009
Delete all specified ordinary files, links, or symbolic links for which there
10101010
are privileges to do so. See L<rmdir> to delete directories.
10111011
1012-
The subroutine form returns the names of all files, excluding those that exist,
1013-
but could not be deleted; this obviously includes the names of the files that do
1014-
not exist, the rationaly possibly being that it returns the names of the files
1015-
that C<do not exist> after the operation, without taking into account if they
1016-
existed before the operation or not.
1012+
The subroutine form returns the names of all the files in the list, excluding
1013+
those for which the filesystem raised some error; since trying to delete a file
1014+
that does not exist does not raise any error at that level, this list will
1015+
include the names of the files in the list that do not exist.
10171016
10181017
The method form returns C<True> on success, or L<fails|/routine/fail>
10191018
with L<X::IO::Unlink> if the operation could not be completed. If the file to be

0 commit comments

Comments
 (0)