>>>>> "MB" == Mark Borghardt <[EMAIL PROTECTED]> writes:
first, please learn to quote properly and not top post. read these:
http://www.btinternet.com/~chiba/sbox/topposters.html
http://www.uwasa.fi/~ts/http/quote.html
http://www.geocities.com/nnqweb/nquote.html
MB> That said, I am wondering why nobody has suggested using select
MB> and sysread. I would have thought that this would have been a
MB> great way to solve the problem. I tried the following code with
MB> no success:
select always returns readable for disk files as they are always readable
so select is meaningless on them. the only way to tail files is to poll
them on a schedule and see if their size has changed (or inode modified,
etc.).
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