Just a little comment.
i'd be careful using CGI, this module is a real good hack, but BIG (using 3,5 mb of your memory when compiled).
Next, i don't really like the idea of using the html stuff CGI offers, i like my perl code to be perl, not html. You might Have a look at HTML::Template, or try the Tal implementation for perl: Petal.
I don't want to create a flame about CGI versus other methods (like Apache::Request), but i'd like to inform about the possibilities, since CGI might not be the best solution for some problems.
hmm updated since last comment:
I'd use either the module HTML::Template or Pental (the Plone template system) to conform more to the Model-View-Controller patterns, and use templates and these modules to generate the html-content in stead of CGI
Next i'd use the Apache::Request implementation to read any requests, it has the same interface as CGI, but is light and fast in use.
More information can be found on http://www.cpan.org and www.plone.org.
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.