in reply to mod_perl2 seems to affect subsequent calls to shared script

Why are you using prototypes in your subroutine definition? I am quite sure it is not doing what you --wrongly-- think it should do.

Actually the \@ prototype causes the subroutine to accept an array only!

Drop those prototypes, they serve no purpose here.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

Replies are listed 'Best First'.
Re^2: mod_perl2 seems to affect subsequent calls to shared script
by ktrails (Initiate) on Jan 07, 2012 at 23:11 UTC
    okay, I'm happy to eat crow - went back to what was working outside of the mod_perl2 environment, removed all the prototypes, and restarted apache, and all versions of the template editor run without problems. thanks
Re^2: mod_perl2 seems to affect subsequent calls to shared script
by ktrails (Initiate) on Jan 07, 2012 at 22:39 UTC
    I'll dump 'em permanently, had removed them in various iterations to no (functional) improvement, but went back to what I'd started with after too many changes. thanks for the feedback -jeff