Skip to content

Commit 3bbad9e

Browse files
committed
Fix up IO::Handle docs
It's not an IO role, but an IO::Path object.
1 parent d19fa10 commit 3bbad9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/Type/IO/Handle.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
1010
Instances of C<IO::Handle> encapsulate an I<handle> to manipulate input/output resources.
1111
Usually there is no need to create directly an C<IO::Handle> instance, since it will be done
12-
by other roles and methods. For instance, thru the L<IO> role it is possible to get an handle
13-
to a file that will result of type C<IO::Handle>:
12+
by other roles and methods. For instance, an L<IO::Path> object provides
13+
an L<open> method that returns an C<IO::Handle>:
1414
1515
my $fh = '/tmp/log.txt'.IO.open;
1616
say $fh.^name; # OUTPUT: IO::Handle

0 commit comments

Comments
 (0)