in reply to Re: Watching a named pipein thread Watching a named pipe
open FH, $fifo or die $!; while (select($ready = fileno(FH), undef, undef, undef)) { # do stuff... } [download]