in reply to perl chatroom

Sounds to me like you're looking for javascriptmonks, not perlmonks. At least, I don't see any Perl content in that question. Perl doesn't care how often it gets invoked... it just does the job.

As for the Perl side, you might be able to leverage from my poor man's web chat.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

Replies are listed 'Best First'.
Re^2: perl chatroom
by keiusui (Monk) on Mar 21, 2006 at 15:38 UTC
    Thank you. This is the Perl script I am looking for.
Re^2: perl chatroom
by zer (Deacon) on Mar 21, 2006 at 05:37 UTC
    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
      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?