perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe M. Chiasson" <>
Subject [Patch mp2] PerlConfigRequire & PerlPostConfigRequire ( was: a new directive: PerlStartupFile? )
Date Sat, 11 Dec 2004 07:57:41 GMT
Stas Bekman wrote:

> [...]

> PerlRequire stays where it is.
> PerlConfigFile = StartPerl + PerlRequire (ensures to be run at config 
> phase)
> Same as PerlLoadModule vs. PerlModule.

After some talk about exactly what to call these directive, here is a 
patch. It's late, so it doesn't include
docs or tests, but it should give a good idea of what's required to get 
this working.

PerlConfigRequire is basically just PerlRequire with an immediate perl 
PerlPostConfigRequire delays requiring the files up to the last possible 
moment, before interpreters begin
to get cloned, at the begining of mp's post_config phase.

Feedback most welcome!

Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5     F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5

View raw message