stas 2003/10/19 12:20:00 Modified: src/docs/2.0/user/porting compat.pod Log: document @INC compat issues Revision Changes Path 1.23 +21 -0 modperl-docs/src/docs/2.0/user/porting/compat.pod Index: compat.pod =================================================================== RCS file: /home/cvs/modperl-docs/src/docs/2.0/user/porting/compat.pod,v retrieving revision 1.22 retrieving revision 1.23 diff -u -u -r1.22 -r1.23 --- compat.pod 26 Sep 2003 19:17:21 -0000 1.22 +++ compat.pod 19 Oct 2003 19:20:00 -0000 1.23 @@ -94,6 +94,27 @@ META: add L<> to the config tree access when it'll be written. +=head2 C<@INC> Manipulation + +=over + +=item * Directories Added Automatically to C<@INC> + +Only if mod_perl was built with C<MP_COMPAT_1X=1>, two directories: +I<$ServerRoot> and I<$ServerRoot/lib/perl> are pushed onto +C<@INC>. I<$ServerRoot> is as defined by the C<ServerRoot> directive +in I<httpd.conf>. + +=item * C<PERL5LIB> and C<PERLLIB> Environment Variables + +mod_perl 2.0 doesn't do anything special about C<PERL5LIB> and +C<PERLLIB> Environment Variables. If C<-T> is in effect these +variables are ignored by Perl. There are L<several other +ways|docs::2.0::user::config::config/Adjusting_C__INC_> to adjust +C<@INC>. + + +=back =head1 Code Porting
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]