marto has provided links in Re^3: apache2 start up after installing that may prove to be very helpful. It appears that you need to understand some of the basics of how web applications work. Perhaps even something at http://w3schools.com or similar would be helpful.
The fact that a web script is written in perl is of no consequence. It is how the web script interacts with the web server that makes it CGI or mod_perl or plack. Modules like Apache2, CGI, and plack can help your script interface with the server, but until you grasp the basic architecture of what the httpd server, the CGI script, and the browser / client each do, it may be difficult to make use of those.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
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:
Outside of code tags, you may need to use entities for some characters:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, 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, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||