in reply to Re: perl chatroom
in thread perl chatroom

all you need to do is make the form that posts to the script. this will make the page refresh. you can also set the meta refresh so it mimics the same thing your javascript does. i hope that points you in the right direction

Replies are listed 'Best First'.
Re^3: perl chatroom
by keiusui (Monk) on Mar 21, 2006 at 15:34 UTC
    Right, the chat window only needs to refresh whenever someone types and submits something.

    However, the chat window needs to refresh not only in the submitter's window, but in all the viewers' windows as well.

    Basically, I have to get two different instances of the same Perl script to talk to each other.

    I know this is possible in php. There are numerous php chat clients in which scripts talk to each other, only refreshing the chat window when necessary.

    Is this possible in perl? Or is this a discovery in which php beats perl?