Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Man, File::Tail is just beating me down!

by BrowserUk (Pope)
on Jan 17, 2008 at 19:07 UTC ( #662941=note: print w/ replies, xml ) Need Help??


in reply to Man, File::Tail is just beating me down!

I don't understand your code at all. Why are reading from the same socket as you are writing to?

And what on earth do you mean by:

and send a tail command using File::Tail

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.


Comment on Re: Man, File::Tail is just beating me down!
Re^2: Man, File::Tail is just beating me down!
by hallikpapa (Scribe) on Jan 17, 2008 at 19:14 UTC
    while (<$sock>) Just means while the connection is open between the two machines. I send stuff back and forth between the two machines right up until the client machine sends "tail\n" Then all of the data streams across the socket. Sorry about the "send tail using File::Tail" Not very clear. Hope the above clears it up. The client sends that command and the data starts pumpin'

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2014-08-21 16:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (138 votes), past polls