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
In reply to Re: point to previous line
by tachyon
in thread point to previous line
by hari
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |