[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl-docs-cvs
Subject:    svn commit: r122678 - /perl/modperl/docs/trunk/src/docs/2.0/user/config/config.pod
From:       gozer () apache ! org
Date:       2004-12-17 21:15:24
Message-ID: 20041217211524.72497.qmail () minotaur ! apache ! org
[Download RAW message or body]

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/co \
nfig.pod?view=diff&rev=122678&p1=perl/modperl/docs/trunk/src/docs/2.0/user/config/conf \
ig.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: docs-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-cvs-help@perl.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic