Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

(Ovid) Re: Active Munging via a pipe (code)

by Ovid (Cardinal)
on Jan 17, 2002 at 00:03 UTC ( [id://139314]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://139314]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-24 03:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found