Re: implementing PerlModule take 1

2001-07-16 Thread Stas Bekman
On Mon, 16 Jul 2001, Doug MacEachern wrote: > On Mon, 16 Jul 2001, Stas Bekman wrote: > > - do we need modperl_use_module() to implement CORE::use > > into what namespace would things be imported? true, no import() is needed other than for modules that use import() to do various initialization/

Re: implementing PerlModule take 1

2001-07-16 Thread Doug MacEachern
On Mon, 16 Jul 2001, Stas Bekman wrote: > So is modperl_require_module() is used only for CORE::require()? If so at the moment, yes. > - do we need modperl_use_module() to implement CORE::use into what namespace would things be imported? > - should it be based on modperl_require_module() an

Re: implementing PerlModule take 1

2001-07-15 Thread Stas Bekman
On Fri, 13 Jul 2001, Doug MacEachern wrote: > > - shouldn't PerlRequire be just an alias for PerlModule? since apparently > > its implementation seem to be identical to PerlModule. > > PerlRequire puts quotes around the value, since PerlRequire is a file, > whereas PerlModule is a bareword. So i

Re: implementing PerlModule take 1

2001-07-13 Thread Doug MacEachern
On Tue, 10 Jul 2001, Stas Bekman wrote: > OK I've finally wrapped my head around how things work at the server > startup. > > This [the patch at the bottom] is a crude proof of concept code for > PerlModule. Before I wrap it all nicely, please tell me if that's more or > less how things should