Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: tail file and websocket stream

by zentara (Archbishop)
on Nov 03, 2018 at 20:43 UTC ( #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
Node Status?
node history
Node Type: note [id://1225164]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2019-10-18 14:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?