Skip to content

Commit 5aa614f

Browse files
committed
[io grant] Improve suggestion for Perl 5's opendir
1 parent bf377c7 commit 5aa614f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

doc/Language/5to6-perlfunc.pod6

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -896,11 +896,7 @@ deals with newlines. Details L<here|/routine/open>.
896896
897897
=item opendir DIRHANDLE, EXPR
898898
899-
Not a builtin function in Perl 6. You would use the IO::Path class:
900-
901-
my $dir = IO::Path.new("directory");
902-
903-
my $dir = "directory".IO; # Same, but probably more direct
899+
No replacement. See L«C<&dir>/C<IO::Path.dir>|/routine/dir» for alternatives.
904900
905901
=head2 ord
906902

0 commit comments

Comments
 (0)