Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Piping Tail and while loops

by Paladin (Priest)
on Sep 01, 2004 at 21:02 UTC ( #387715=note: print w/replies, xml ) Need Help??


in reply to Piping Tail and while loops

This doesn't directly answer your question, but may make it moot. Have you looked at the File::Tail module on CPAN?

Replies are listed 'Best First'.
Re^2: Piping Tail and while loops
by matt.schnarr (Sexton) on Sep 01, 2004 at 22:02 UTC
    Unfortunately File::Tail still blocks, it'd be helpful if it had a non-blocking mode.

    Thanks!

      File::Tail has a "nowait" option, though even there (in the docs) it also suggests using select.
        I will definitely give this a try.

        Thanks again!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://387715]
help
Chatterbox?
[Yaerox]: Is there any recommended perl-module for an CSPRNG in 2016?
[ambrus]: Yaerox: good question, I don't know

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2016-12-06 10:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (101 votes). Check out past polls.