Take another look at the seek docs.seek FH, 0, 1;
It's also nice to check the return status of the file operation for success:
seek FH, 0, 1 or die "seek failed: $!";
In reply to Re^3: Having Access to a file two times
by AnomalousMonk
in thread Having Access to a file two times
by sesemin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |