seek() takes two parameters - the offset (or POS) and how that offset should be interpreted (or WHENCE). The three WHENCE's are SEEK_SET (absolute position, or relative to file beginning), SEEK_CUR (relative to where I am right now), and SEEK_END (relative to the end of the file). seek might also be useful.use Fcntl 'SEEK_SET'; $fb->seek( 10, SEEK_SET );
In reply to Re: File::Binary:howto goto a position in file
by dragonchild
in thread File::Binary:howto goto a position in file
by jeanluca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |