in reply to Transitioning to mod_perl

Well, apart from the usual rules ie use
perl -w

and

use strict;

the thing I've had to fix a few times on old code is ensuring that all variables are initialised each time they are used.
Remember that the scripts are cached in mem by Apache, as are the last values the variables had...

Replies are listed 'Best First'.
Re^2: Transitioning to mod_perl
by kiat (Vicar) on Jun 17, 2005 at 05:07 UTC
    A clarification...

    Does that mean that if your scripts run without problems with "use strict;", they will do fine with mod_perl?

      No, that's just the 1st step.