You may wish to install a perl/apache/MySQL bundle rather than integrate all the pieces yourself.

If so check out XAMPP from Apache Friends. They provide apache, mysql, php, perl bundled into a single installer.

Another option is Indigo Perl. IndigoStar bundles perl and apache in one installer. You'll need to manage your own MySQL installation and configuration.

Please don't think that I am against using ActivePerl--I use it every day. I suggest these other options because they provide you with preconfigured software that may make it easier for you to get started.

If you are going to be serving pages that are open to the Internet or otherwise liable to be hacked, be very careful relying on preconfigured servers. If this is the case, I suggest that you start learning on a test box and find a reliable hosting provider. Once you have learned about security and ins and outs of apache/mysql/perl, then you should consider hosting your own internet webserver.

On the other hand, if you are working in a sheltered environment, a preconfigured server is a great way to get started. You will get a basic system up and running very quickly, and have nearly immediate payoff for your work.

In any case, read lots of tutorials, read the manuals, experiment and ask questions. Good luck in your new endeavor.


TGI says moo


In reply to Re: How to use perl CGI programs with mysql server? by TGI
in thread How to use perl CGI programs with mysql server? by sanjay nayak

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.