in reply to perl chatroom

It sounds like you want to have the browser listen for the server to talk. This usually involves writing your own server program, which isn't hard, but you need a dedicated server or something like that.


Here's some links, though:

If you feel like using something existing, but not Perl-based, there's a webchat interface to Jabber servers: http://jabberstudio.org/projects/jwchat/project/view.php