Perl is probably losing track of the current line number when you seek, but since you know the correct current line number, you can tell Perl by just writing it to $. when you're done seeking around.
In reply to Re: Problem with SEEK to go back/forward a few lines.
by sgifford
in thread Problem with SEEK to go back/forward a few lines.
by GaijinPunch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |