in reply to Show Next Lines of a Text File

Correct me if I am wrong, but the problem is here:
if($v_file){ print "<br><center><a href=\"parse_test.pl?pos=$pos\"><font color=#ad0 +000><b>more >>></b></font></a></center>"; }else{ print "End"; } # save $pos somewhere for the next page view #How actualy save this, where could I do this? $pos = tell(VIEWFILE); close VIEWFILE;

It should be this way:
$pos = tell(VIEWFILE); if($v_file){ print "<br><center><a href=\"parse_test.pl?pos=$pos\"><font color=#ad0 +000><b>more >>></b></font></a></center>"; }else{ print "End"; } close VIEWFILE;