I would like the BEGIN block to set up global variables for the life of the program (which I thought loaded up and ran in perpetuity [until the server stopped/restarted]). However, it seems the BEGIN block is run for each child process of the Apache server. And also if the child is recycled.
I don't think I'm explaining it properly... bottom-line: I would like the program to only setup the variables once - it would save some time in re-creating those global variables.
After my head stops hurting, I will check out PerlFreshRestart (or something like that) and also Apache::Registry (can i put global variables there?).