Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
(tye)Re8: 'Tailing' a File?by tye (Sage) |
on Jan 11, 2001 at 10:10 UTC ( [id://51085]=note: print w/replies, xml ) | Need Help?? |
Oh, by the way, on Win32 (and only Win32) you can use Win32::ChangeNotify to get told when a new line is added to the file instead of having to periodicly "poll" like you have to on other, inferior (did I say that?), operating systems. ;) At least, the underlying API lets you do that kind of stuff. I think that the Win32::ChangeNotify is well enough written that you can do that same type of thing with the module. {-: - tye (but my friends call me "Tye")
In Section
Seekers of Perl Wisdom
|
|