http://www.perlmonks.org?node_id=921308

romy_mathew has asked for the wisdom of the Perl Monks concerning the following question:

Hi Can anyone help to give a idea or tutorial on how to implement a Chat service in CGI script for webpage. Any idea would be very helpful.
  • Comment on How to implement a Chat service in Perl CGI in a webpage

Replies are listed 'Best First'.
Re: How to implement a Chat service in Perl CGI in a webpage
by davido (Cardinal) on Aug 19, 2011 at 19:08 UTC

    WebChat in under 100 lines of Perl, described in detail on merlyn's site at: http://www.stonehenge.com/merlyn/WebTechniques/col56.html.

    On Github there is Writing websocket chat using Mojolicious::Lite. Those two options are about a decade apart. Excluding dependencies (available from CPAN), they're within a few lines of each other in length. :)

    Or use Google for "web chat with Perl"

    If you need a more customized response it would help us in our effort to help you if you could provide some background information such as where you are in the learning curve with respect to Perl, what CGI work you have done previously or are comfortable with, and what part of the service you have already succeeded in either implementing or conceptualizing from a coding standpoint.


    Dave

      Hi Dave
      Thanks for the post, well that information was very helpful. I am new to the Web development and perl, i guess its almost 6 months i started learning perl and has developed a Desktop application in Perl TK and Mysql for Stock and Performance Updating Program and in web I started a personal one in my name to learn Perl Template , cgi and java script called www.romymathew.in.
      I looked at the code @ randal but it too heavy to understand for me

        I looked at the code @ randal but it too heavy to understand for me

        Then might I suggest having a read through some of our very fine Tutorials, beginning with Getting-Started-with-Perl, perhaps? (That will get you further than spamming will, at any rate...)

        And, of course, there's always teh googles.

        HTH,

        planetscape
        May I know what all I need to know in theory to implement a Chat service in a website. how the idea of chat service works in a Website