in reply to point to previous line
tell and seek will let you do it but I don't see why you would need to.
my $pos = tell FH; $line = <FH>; seek FH, $pos, 0; # we will now read the same line if we do $line = <FH>;
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: point to previous line
by hotshot (Prior) on Mar 05, 2003 at 09:54 UTC | |
|
Re: Re: point to previous line
by hari (Novice) on Mar 05, 2003 at 11:17 UTC |