Re: Tail -f and select - Again

[email protected] (Uri Guttman) Tue, 22 Jan 2002 14:51:29 -0500
Newsgroups perl.loop
Message-ID <[email protected].>
>>>>> "JS" == Jochen Stenzel <[email protected]> writes:

  >> What I want to do is read data from a growing file (tail -f) until
  >> a special record arrives, at which point I would like to close the
  >> file and reopen another one repeating the process.

  JS> there is a module called Event::File which implements tail -f the
  JS> Event way.

and there is a Stem::LogTail module that implements tail the stem
way. :)  the stem log subsystem supports filter rules which can easily
trigger a shutdown or restart of the tailing. no need for a separate
tail process.

uri

-- 
Uri Guttman  ------  [email protected]  -------- http://www.stemsystems.com
-- Stem is an Open Source Network Development Toolkit and Application Suite -
----- Stem and Perl Development, Systems Architecture, Design and Coding ----
Search or Offer Perl Jobs  ----------------------------  http://jobs.perl.org