Re: mod_perl problems - require file

2006-12-13 Thread aj2taylo
Thankgs for all the help guys. Through some digging, I found some new files that were calling "require moduleX.methods", which seem to be the culprit. Thanks again! Perrin Harkins wrote: > > aj2taylo wrote: >> Correct, moduleX.methods has sub routines defined, but is not itself a >> packag

Re: mod_perl problems - require file

2006-12-13 Thread Perrin Harkins
aj2taylo wrote: Correct, moduleX.methods has sub routines defined, but is not itself a package. This is all part of a legacy system, and moduleX.pm is used as a form handler, so moduleX.methods exists purely for architectural reasons (separating certain functions from the form handling functions

Re: mod_perl problems - require file

2006-12-13 Thread Jeff Pang
> >Sorry, one other thing I didn't mention from the start is that the errors are >happening inconsistently. We can rarely duplicate the error, but see it >showing up in log files, and a QA can periodically replicate it. > >So do you think it be related to a bad Apache process, rather than softwar

Re: mod_perl problems - require file

2006-12-13 Thread Philip M. Gollucci
aj2taylo wrote: Sorry, one other thing I didn't mention from the start is that the errors are happening inconsistently. We can rarely duplicate the error, but see it showing up in log files, and a QA can periodically replicate it. So do you think it be related to a bad Apache process, rather th

Re: mod_perl problems - require file

2006-12-13 Thread aj2taylo
Sorry, one other thing I didn't mention from the start is that the errors are happening inconsistently. We can rarely duplicate the error, but see it showing up in log files, and a QA can periodically replicate it. So do you think it be related to a bad Apache process, rather than software based

Re: mod_perl problems - require file

2006-12-13 Thread aj2taylo
Thanks for the link, I'll investigate that further. Correct, moduleX.methods has sub routines defined, but is not itself a package. This is all part of a legacy system, and moduleX.pm is used as a form handler, so moduleX.methods exists purely for architectural reasons (separating certain functi

Re: mod_perl problems - require file

2006-12-12 Thread Perrin Harkins
aj2taylo wrote: ERR: 24: Line 1: Error in Perl code: Can't locate object method "subRoutineA" via package "moduleX" (perhaps you forgot to load "moduleX") at path/moduleX.pm line 123. Sounds like a variation of this: http://perl.apache.org/docs/1.0/guide/porting.html#Name_collisions_with_Module

Re: mod_perl problems - require file

2006-12-12 Thread Philip M. Gollucci
aj2taylo wrote: package moduleX; require "moduleX.methods"; perldoc -f use perldoc -f require note that require does not call ::->import() i.e.: require A; A::x() vs use B; c(); package B; @EXPORT = qw(c); sub c { } package A; sub x { } -- ---