in reply to running Perl scripts in the background

This is a real problem on machines executing long-running programs. You will have to keep some state information, such as which file the program was processing and the value of the file pointer.

If this is done often, it may be worthwhile to a) reconsider your search algorithm or b) add hooks to the program or programs generating the files and write those interesting entries into an "interesting entry" file.

emc

Any New York City or Connecticut area jobs? I'm currently unemployed.

There are some enterprises in which a careful disorderliness is the true method.

—Herman Melville
  • Comment on Re: running Perl scripts in the background