in reply to Waiting for multiple filehandles
The low level approach would be select, which does exactly that, and on Unix systems also works on filehandles. On Win32, you would have to use WaitForMultipleObjects to get select-like functionality.
But most likely, you want a framework that calls your function(s) whenever something interesting happens, and POE is such a framework. Most likely POE::Wheel::File::Tail does what you want.
|
|---|