That's why I don't use .pl or any CGI like software.
I think that URLs must describe their content, not the program used to manage it, SO I use modperl directly, or HTML::Mason, with dhandlers, that allow me to have virtual URLs, that I then map to my database information.
The future (being finished) of my bliki system, Mabliki, uses a urification of the post titles on the URLs, that have the form /view/some-special-interest-item.html.
This is a virtual cached URL, that say nothing about the software used or the language I use, only about the action I 'm doing (viewing some-special-interest-item).
I think there are several reason to use this type of URLs, including compatibility and SEO. URLS like parent=23421;node_id=2342345 say nothing about the content, and even when a user is looking in history for some story he liked it don't work.
mod_rewrite is a good way to transform URLs if you can't have natively good URLs. ModPerl have several ways to map URLs, so I don't think that you need another way to map them.
You just need another way to think web devel in Perl.
CGI, I think, is not an option. Even in a Perl::Registry environment.
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.