in reply to Re^2: Having Access to a file two times
in thread Having Access to a file two times
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: $!";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Having Access to a file two times
by oxone (Friar) on Sep 21, 2008 at 10:00 UTC | |
by jwkrahn (Abbot) on Sep 21, 2008 at 11:22 UTC | |
by AnomalousMonk (Archbishop) on Sep 21, 2008 at 22:11 UTC |