Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update IO::Handle.seek parameters documentation
  • Loading branch information
lizmat committed Nov 14, 2015
1 parent e132d9b commit e145a3c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions doc/Type/IO/Handle.pod
Expand Up @@ -102,24 +102,25 @@ characters.
=head2 method seek
method seek(IO::Handle:D: Int:D $offset, Int:D $whence)
method seek(IO::Handle:D: Int:D $offset, SeekType:D $whence --> True)
Move the file pointer (that is the position at which any subsequent read
or write operations will begin,) to the byte position specified by
C<$offset> relative to the location specified by C<$whence> which may be
one of:
=item 0
=item SeekFromBeginning
The beginning of the file.
=item 1
=item SeekFromCurrent
The current position in the file.
=item 2
=item SeekFromEnd
The end of the file.
The end of the file. Please note that you need to specify a negative
offset if you want to position before the end of the file.
=head2 method tell
Expand Down

0 comments on commit e145a3c

Please sign in to comment.