I have this script I want to use under mod-per. It has all these global variables flying around. Since mod-perl is a single instance of the interperter, these global hashes and arrays getting cluttered with data from multiple users. I tried clearing the hashes at the top of each module that uses them, but I'm thinking there is a better way.
Will a module's BEGIN run if one of its methods is imported and used or just when the module is first loaded. I'm still unsure how mod-perl REALLY affects scoping. Any help appreciated. Amen. -Ty