Apologies in advance for the conceptual nature of this inquiry.

I have two chunks of code that are being run as separate scripts under Registry. Both are using require() (I know, I know) to pull in a library of subroutines. The behavior I'm seeing, which is quite odd, is that without warning, one or the other of the scripts will all of the sudden return a server error, complaining about an "undefined subroutine" reference in the script. It's as if the functions in the library of a sudden disappear, and I wonder whether or not there's some strange contention between the two scripts for use of the library which they both include().

Besides not keeping strict, which I'm doing intentionally to support a bit of older code, am I violating a fundamental rule of mod_perl around namespace contention?

Thanks in advance,

Matthew



Reply via email to