$pos = tell(VIEWFILE); if($v_file){ print "
more >>>
"; }else{ print "End"; } close VIEWFILE;