Skip to content

Commit

Permalink
Document routines get/getc
Browse files Browse the repository at this point in the history
closes #3872
  • Loading branch information
coke committed Nov 20, 2022
1 parent d5263c7 commit 950e714
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions doc/Type/independent-routines.pod6
Expand Up @@ -180,6 +180,19 @@ in effect. Thus, after the session above, you'd get the output
C<Goodbye, Bob> rather than C<Goodbye, Alice> as you would have without
the REPL session.
=head2 sub get
multi sub get (IO::Handle:D $fh = $*ARGFILES) { $fh.get }
This routine is a wrapper for the L<method of the same name in C<IO::Handle>|/type/IO::Handle#routine_get>>.
If no C<Handle> is specified, defaults to L<C<$*ARGFILES>|language/variables#$*ARGFILES>.
=head2 sub getc
multi sub getc (IO::Handle:D $fh = $*ARGFILES) { $fh.getc }
This routine is a wrapper for the L<method of the same name in C<IO::Handle>|/type/IO::Handle#routine_getc>>.
If no C<Handle> is specified, defaults to L<C<$*ARGFILES>|language/variables#$*ARGFILES>.
=head2 sub mkdir
Expand Down

0 comments on commit 950e714

Please sign in to comment.