in reply to working under mod_cgi and mod_perl
As far as parameter processing goes, there is no change under mod_cgi or mod_perl, but there are a number of other issues to look into, such as not using global variables since they do not (always) get reset for each request. On the other hand everywhere using lexical variables (my) can get you into even more subtle traps as they might get persisted through closures.
CountZero
A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: working under mod_cgi and mod_perl
by Miguel (Friar) on Aug 29, 2007 at 16:18 UTC | |
by agianni (Hermit) on Aug 29, 2007 at 18:47 UTC |