8.130. IO::SeekableIntended to be inherited by other IO::Handle-based objects to provide methods that allow you to seek the file descriptors. Has no constructor. use IO::Seekable; package IO::XXX; @ISA = qw(IO::Seekable); Provides two methods.
$fh->seek(offset, whence) Frontend for the corresponding built-in seek function, which sets a filehandle's position in the file. Takes the following arguments:
$fh->tell( ) Frontend for the corresponding built-in tell function, which returns the current file position in bytes (starting from 0). Copyright © 2002 O'Reilly & Associates. All rights reserved. |
|