Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
a few entries in IO
  • Loading branch information
szabgab committed Mar 19, 2013
1 parent f4d12f3 commit 4774f93
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions lib/IO.pod
Expand Up @@ -6,6 +6,46 @@
=head1 Methods
=head2 get
Reads a single line from the input stream (usually the Standard Input or a file).
Read one line from the standard input:
$*IN.get;
Read one line from a file:
my $fh = open 'filename';
my $line = $fh.get;
=head2 getc
Read a single character from the input stream.
=head2 eof
Returns L<Bool::True> if the read operations have exhausted the content of the file.
=head2 lines
=head2 read
=head2 write
=head2 seek
=head2 tell
=head2 slurp
=head2 close
Will close a previously opened filehandle.
$fh.close;
=head2 dir
sub dir Cool $path = '.', Mu :$test = none('.', '..')
Expand Down

0 comments on commit 4774f93

Please sign in to comment.