contention for require()'d code library

[prev] [thread] [next] [Date index for 2005/02/08]

From: Matthew Berk
Subject: contention for require()'d code library
Date: 16:28 on 08 Feb 2005
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

(message missing)

contention for require()'d code library
Matthew Berk 16:28 on 08 Feb 2005

Re: contention for require()'d code library
Perrin Harkins 16:34 on 08 Feb 2005

Re: contention for require()'d code library
Joe Schaefer 16:52 on 08 Feb 2005

Re: contention for require()'d code library
Matthew Berk 17:01 on 10 Feb 2005

Re: contention for require()'d code library
Perrin Harkins 17:09 on 10 Feb 2005

Generated at 11:21 on 20 Feb 2005 by mariachi v0.52