in reply to Active Munging via a pipe (code)
This type of stuff isn't exactly my strong suit, but it sounds like the the while loop is exiting on EOF. If that's the case, you need to clear the EOF flag. The classic example, modified from the Cookbook:
for (;;) { print while (<FIFO>) sleep FOR_A_WHILE; # some constant seek <FIFO>, 0, 1; # resets EOF }
Is that what you are needing? It should effectively be a tail.
Cheers,
Ovid
Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.
|
|---|