Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Transitioning to mod_perl

by sharkey (Scribe)
on Jun 17, 2005 at 05:07 UTC ( [id://467568]=note: print w/replies, xml ) Need Help??


in reply to Transitioning to mod_perl

I haven't had any serious difficulties with mod_perl, but I do not use Apache::Registry or the like. If you do mod_perl, I would highly recommend one of the popular templating systems, like Mason or Template::whichever.

The general rules to avoid problems are:

use strict;
use warnings;
(no warnings 'uninitialized' may be convenient if you deal with a lot of nulls from a database.)

Keep global variables to a few obvious necessities, like $dbh and $session. These should be initialized by your templating system or your handler function, before your page logic even gets a chance to run.

Replies are listed 'Best First'.
Re^2: Transitioning to mod_perl
by jeyroz (Monk) on Jun 17, 2005 at 05:22 UTC

    We currently use CGI::Application, HTML::Template, Apache::Session, and others. Strict is mandatory, as is warnings. We have a rigid QA and "post test" cleanup schedule that keeps our code as clean as possible.

    Hopefully that will be sufficient for the time being.

    author => jeyroz

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://467568]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (3)
As of 2024-04-19 17:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found