in reply to Re^2: reading a line from file two times
in thread reading a line from file two times
Output :-if ( $line =~ /NEWTABLE/) { seek(FH, (0 - length($line)+tell(FH)), SEEK_CUR); $line = <FH>; chomp($line); print "LINE AFTER SEEK :$line:\n" }
why I am missing 'N' after the seek ?"LINE AFTER SEEK :EWTABLE:\n"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: reading a line from file two times
by BrowserUk (Patriarch) on Dec 21, 2006 at 04:38 UTC | |
by jettero (Monsignor) on Dec 21, 2006 at 05:36 UTC | |
|
Re^4: reading a line from file two times
by jettero (Monsignor) on Dec 21, 2006 at 03:45 UTC |