in reply to Re: That solved it!
in thread Apache::Registry losing subs created via globs.

I just knew that special steps were required to support BEGIN blocks in mod_perl.. I recreated the problem outside of mod_perl, so that's not the problem...though I hadn't heard of an INIT block. It must just be how INIT blocks get handled under Apache::Registry-like conditions.

Update: Aha, now I see INIT in perlcompile and perlmod.

Replies are listed 'Best First'.
Re: Re: Re: That solved it!
by perrin (Chancellor) on Nov 06, 2002 at 23:26 UTC
    I don't think it's related to the wrapping of code used in Apache::Registry because the module that contains the INIT block is not modified at all; only the actual CGI file is. The module with the INIT is just pulled in via a "use" from the CGI.