That's the "no-op" seek. You're saying to seek 0 relative bytes from the current position. That's pretty much where you already are.seek( $fh,0,1 );
Perhaps you want to rewind the file, which would be either rewind $fh or seek $fh, 0, 0.
-- Randal L. Schwartz, Perl hacker
In reply to Re: 'seek' on a FileHandle.pm object
by merlyn
in thread 'seek' on a FileHandle.pm object
by dsb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |