Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: tail file and websocket stream

by zentara (Archbishop)
on Nov 03, 2018 at 20:43 UTC ( [id://1225164]=note: print w/replies, xml ) Need Help??


in reply to tail file and websocket stream

Hi, see Read log which is being updated continuisly. You need to capture the output from File::Tail to a filehandle, then use "select" on that filehandle to trigger a callback to your websocat server.

I'm not really a human, but I play one on earth. ..... an animated JAPH

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-03-29 08:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found