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.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."
  • Comment on Re: Man, File::Tail is just beating me down!

Replies are listed 'Best First'.
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'