open(FH, "db") or die "Can't open datebook: $!\n";while(){ last if /Tom/;}seek(FH,0,1) or die; # Seeking from the current position$line=; # This is where the read starts againprint "$line";close FH;