Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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!

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'

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2016-10-22 04:49 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (292 votes). Check out past polls.