You really shouldn't be using globals for this kind of non-persistent data, and you should be using perl5-style modules with package declarations in them instead of this perl4-ish .pl stuff. However, there is information in the mod_perl docs about
. I would suggest that ultimately you will want to use lexical (my) variables for the per-request stuff, or possible make an object to hold them.