Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Right another attempt at rephrasing the behavior of unlink refs #2096
  • Loading branch information
JJ committed Jun 12, 2018
1 parent 6e17351 commit a624714
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions doc/Type/IO/Path.pod6
Expand Up @@ -1009,11 +1009,10 @@ Defined as:
Delete all specified ordinary files, links, or symbolic links for which there
are privileges to do so. See L<rmdir> to delete directories.
The subroutine form returns the names of all files, excluding those that exist,
but could not be deleted; this obviously includes the names of the files that do
not exist, the rationaly possibly being that it returns the names of the files
that C<do not exist> after the operation, without taking into account if they
existed before the operation or not.
The subroutine form returns the names of all the files in the list, excluding
those for which the filesystem raised some error; since trying to delete a file
that does not exist does not raise any error at that level, this list will
include the names of the files in the list that do not exist.
The method form returns C<True> on success, or L<fails|/routine/fail>
with L<X::IO::Unlink> if the operation could not be completed. If the file to be
Expand Down

0 comments on commit a624714

Please sign in to comment.