Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Mention print method in IO::Handle
  • Loading branch information
Paul Cochrane committed Feb 24, 2015
1 parent ec25269 commit 2a0049a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lib/Type/IO/Handle.pod
Expand Up @@ -43,6 +43,16 @@ Return a lazy list of the file's lines read via L<get>, limited to C<$limit> lin
@data.push($line.split(','))
}
=head2 method print
method print(*@text --> Bool)
Text writing; writes the given C<@text> to the filehandle.
my $fh = open 'path/to/file', :w;
$fh.print("some text\n");
$fh.close;
=head2 method read
method read(IO::Handle:D: Int(Cool:D) $bytes --> Blob)
Expand Down Expand Up @@ -71,3 +81,4 @@ Will close a previously opened filehandle.
=end pod

# vim: expandtab shiftwidth=4 ft=perl6
2 changes: 2 additions & 0 deletions lib/Type/IO/Path.pod
Expand Up @@ -161,3 +161,5 @@ Changes the POSIX permissions of a file to C<$mode>.
$*CWD.chmod(0o700);
=end pod

# vim: expandtab shiftwidth=4 ft=perl6

0 comments on commit 2a0049a

Please sign in to comment.