Полезная информация Выкуп авто дорого в Екатеринбурге

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 8.94 IO::SeekableChapter 8
Standard Modules
Next: Reference: tell


$fh->seek(offset, whence)

Front-end for the corresponding built-in seek function, which sets a filehandle's position in the file. Takes the following arguments:


The offset where you want to set the position.


The position in the file that the offset is relative to. Possible values are: 0 for the beginning of the file, 1 for the current position, or 2 for end of file. May also be expressed as the following constants, which are exported:


Beginning of file


Current position


End of file

Previous: 8.94 IO::SeekablePerl in a NutshellNext: Reference: tell
8.94 IO::SeekableBook IndexReference: tell