Re: contention for require()'d code library

2005-02-10 Thread Perrin Harkins
On Thu, 2005-02-10 at 12:01 -0500, Matthew Berk wrote: > I have come up with a bit of a hackish, near term solution. Wanted to > share it with the group. > > - check to see if a subroutine in the library is defined() > - if not, delete() the library name from %INC > - require() the library

Re: contention for require()'d code library

2005-02-10 Thread Matthew Berk
I have come up with a bit of a hackish, near term solution. Wanted to share it with the group. - check to see if a subroutine in the library is defined() - if not, delete() the library name from %INC - require() the library This corrects the behavior we were seeing quite well, without much ov

Re: contention for require()'d code library

2005-02-08 Thread Joe Schaefer
Matthew Berk <[EMAIL PROTECTED]> writes: > 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. If you're abusing req

Re: contention for require()'d code library

2005-02-08 Thread Perrin Harkins
On Tue, 2005-02-08 at 11:28 -0500, Matthew Berk wrote: > 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? http://perl.apache.org/docs/1.0/guide/troubleshooting.html#Undefined_s