in reply to Perl modules for Comet ?

You're looking for cometd, for which there are Perl implementations. It's written by the same guy who wrote the Dojo JS framework - Alex knows his stuff.

My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?