Dec 9, 2000, 10:27 AM
Post #5 of 5
Re: Is it possible to have "live" scripts in Perl like chat rooms?
[In reply to]
Yea, I've heard that there are ways of using sockets to connect two or more computers together so when you submit your data, it's sent to the other computers imediatly. It's so unlike perl to support instant communication, but it's probably not possible. I'd do a lot of research on sockets and find out, I'm sure you could play with them and come up with something. Even if you do connect using sockets, it seems that it wouldn't stay on because the perl script will always exit after executing, you'd have to keep it running, and to do that, you have to create a daemon proccess, which runs of the cron to keep it running, Just thinking about it, maybe you could use goto label and put the goto at the bottom, and the label at the top, that should keep it running over and over, he he he he, of course I'm j/k about that.