in reply to Using Seek to read and parse growing log files
When I don't need or want to process anymore, just kill the process via the prepped signal handler, so i can clean up db handles or whatever i'm doing, gracefully.. . . while(1) { while(my $line=<$fh>) { # lot's o processing } sleep 5; }
Doesn't solve your exact problem, but gives you a new possibility. -s
|
|---|