Author: gozer Date: Fri Dec 17 13:15:22 2004 New Revision: 122678 URL: http://svn.apache.org/viewcvs?view=rev&rev=122678 Log: New configuration directives - PerlConfigRequire Just like PerlRequire, but _always_ triggers an immediate interpreter startup - PerlPostConfigRequire A delayed form of PerlRequire, that waits until the post_config phase before require'ing files
Modified: perl/modperl/docs/trunk/src/docs/2.0/user/config/config.pod Modified: perl/modperl/docs/trunk/src/docs/2.0/user/config/config.pod Url: http://svn.apache.org/viewcvs/perl/modperl/docs/trunk/src/docs/2.0/user/config/config.pod?view=diff&rev=122678&p1=perl/modperl/docs/trunk/src/docs/2.0/user/config/config.pod&r1=122677&p2=perl/modperl/docs/trunk/src/docs/2.0/user/config/config.pod&r2=122678 ============================================================================== --- perl/modperl/docs/trunk/src/docs/2.0/user/config/config.pod (original) +++ perl/modperl/docs/trunk/src/docs/2.0/user/config/config.pod Fri Dec 17 13:15:22 2004 @@ -681,6 +681,52 @@ +=head2 C<PerlConfigRequire> + + PerlConfigRequire Foo/Bar.pm + +is equivalent to Perl's: + + require "Foo/Bar.pm"; + +C<PerlConfigRequire> is used to load files with Perl code. + +It is very similar to C<L<PerlRequire|/C_PerlRequire_>> +with the only difference being that Perl startup is not +L<delayed|/Startup_Process> and will be immediately started +upon encountering this directive. + +META: need to expand on this with examples and suggested usages + + + + + + +=head2 C<PerlPostConfigRequire> + + PerlPostConfigRequire Foo/Bar.pm + +is equivalent to Perl's: + + require "Foo/Bar.pm"; + +C<PerlPostConfigRequire> is used to load files with Perl code +as late as possible during server startup. + +It is very similar to C<L<PerlRequire|/C_PerlRequire_>> and +C<L<PerlConfigRequire|/C_PerlConfigRequire_>>. + +C<PerlPostConfigRequire> delays loading of the file until +the last possible moment before the server is starting, in +the post_config phase. + +META: need to expand on this with examples and suggested usages + + + + + =head2 C<PerlSetEnv> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]