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

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]
[afoken]: http://floating- ?
[haukex]: What Every Computer Scientist Should Know About Floating-Point Arithmetic?
[Discipulus]: the winner is..
[Discipulus]: Mr haukex from Germany! thanks a lot to the other parteciapant our dear Mr afoken.. ;=)
[Discipulus]: no, seriously thanks both, i missed 'scientist' and 'floating point' and the resarche was imposible..

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2017-06-26 20:51 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (594 votes). Check out past polls.