Skip to content

Commit

Permalink
Improve IO::Handle abstract.
Browse files Browse the repository at this point in the history
  • Loading branch information
fluca1978 committed Apr 23, 2018
1 parent dbe6341 commit 1b4a49e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions doc/Type/IO/Handle.pod6
Expand Up @@ -6,6 +6,16 @@
class IO::Handle { }
Instances of C<IO::Handle> encapsulate an I<handle> to manipulate input/output resources.
Usually there is no need to create directly an C<IO::Handle> instance, since it will be done
by other roles and methods. For instance, thru the L<IO> role it is possible to get an handle
to a file that will result of type C<IO::Handle>:
my $fh = '/tmp/log.txt'.IO.open;
say $fh.^name; # OUTPUT: IO::Handle
=head1 Methods
=head2 method open
Expand Down

0 comments on commit 1b4a49e

Please sign in to comment.