I had an application made of several modules and several CGI scripts that used them. Lately I moved my computer from RedHat to Gentoo Linux, and did a lousy job in backing up, so I have my modules but not the scripts.
I figured this would be a good time to use a more up-to-date technology, and I have been doing a lot of research on mod_perl 2, Which brought up some questions that were not answered for me as well as I'd like - the whole thing is pretty confusing, considering that: the thing is still in development; I've never used mod_perl before.
So, after a long rout of googling, searchin, reading tutorials, trying and trying again (my apache2 processes are forming a union, I abused it so much :) ), I guess I'll have to come to the true source of perl wisdom... The questions I have, in short are these:
- What design do you use for your mod_perl scripts? Is it anything like CGI::Application or anything I am familiar with from the mod_cgi world?
- Handlers vs. ModPerl::Registry: What are the pros/cons of using each?
- What is the status of libapreq2? I saw on CPAN that it's in a development phase (ends with _04). I searched for more info on it, but couldn't find any. Is it very important? Should I wait for it, or should I use substitues (I see on the web that using CGI::* is just enough, but if I'm going for the new technology, I want to make sure that I'm up-to-date).
A final point is that I care nothing about stability and reliability. This is for my family, and is mainly a training project for me.
Thanks.
perl -e'$b=unpack"b*",pack"H*","59dfce2d6b1664d3b26cd9969503";\
for(;$a<length$b;$a+=9){print+pack"b8",substr$b,$a,8;}'
My public key
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.