>> you wouldn't want to just import the namespaces required during
>> modperl_perl_core_global_init?
>
>
> Sorry, Geoff, I don't understand what do you ask. You talk about the 3rd
> solution?
well, kinda. isn't the issue that ModPerl::Util isn't imported? I mean,
clearly ModPerl::Util::exit has been defined, but the module as a whole
hasn't been use()d yet. so, something like this
typedef struct {
const char *name;
const char *package;
const char *sub_name;
const char *core_name;
} modperl_perl_core_global_t;
while (cglobals->name) {
[code that requires cglobals->package]
GV *gv = gv_fetchpv(cglobals->core_name, TRUE, SVt_PVCV);
GvCV(gv) = get_cv(cglobals->sub_name, TRUE);
GvIMPORTED_CV_on(gv);
cglobals++;
}
I would think would be sufficient, rather than moving the entire
ModPerl::Util class into core. but my brain has been on another planet
recently, so don't let me stop your progress or pull you into a
time-straining discussion if I'm not correct. just go with what you and
philippe think is best.
--Geoff
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]