Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Reopen file when contents changed?by Fletch (Bishop) |
on Jun 07, 2005 at 14:17 UTC ( [id://464313]=note: print w/replies, xml ) | Need Help?? |
If you're on a system that supports it it might be more efficient to see if you could use SGI::FAM, or look into wrapping kqueue on a BSD box using Inline::C. That'd let the OS notify you just when it changes. Update: Oh, just read that you're reading stuff from /proc; never mind as my suggestions probably won't work there. --
In Section
Seekers of Perl Wisdom
|
|