You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs-cvs@perl.apache.org by st...@apache.org on 2003/02/01 00:07:57 UTC

cvs commit: modperl-docs/src/docs/2.0/user/config config.pod

stas        2003/01/31 15:07:57

  Modified:    src/docs/2.0/user/config config.pod
  Log:
  - fix /-Mblib/-Mlib/
  - add a note that Apache2 and other perl modules need to be reloaded for
  +Parent
  
  Revision  Changes    Path
  1.34      +11 -3     modperl-docs/src/docs/2.0/user/config/config.pod
  
  Index: config.pod
  ===================================================================
  RCS file: /home/cvs/modperl-docs/src/docs/2.0/user/config/config.pod,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- config.pod	29 Jan 2003 23:28:06 -0000	1.33
  +++ config.pod	31 Jan 2003 23:07:57 -0000	1.34
  @@ -347,19 +347,27 @@
   one for each C<E<lt>VirtualHostE<gt>>, each with its own namespace and
   pointing to a different paths in C<@INC>:
   
  -META: is -Mblib portable? (problems with -Mlib on Darwin/5.6.0?)
  +META: is -Mlib portable? (problems with -Mlib on Darwin/5.6.0?)
   
     <VirtualHost ...>
         ServerName dev1
         PerlOptions +Parent
  -      PerlSwitches -Mblib=/home/dev1/lib/perl
  +      PerlSwitches -Mlib=/home/dev1/lib/perl
  +      PerlModule Apache2
     </VirtualHost>
   
     <VirtualHost ...>
         ServerName dev2
         PerlOptions +Parent
  -      PerlSwitches -Mblib=/home/dev2/lib/perl
  +      PerlSwitches -Mlib=/home/dev2/lib/perl
  +      PerlModule Apache2
     </VirtualHost>
  +
  +Remember that C<+Parent> gives you a completely new Perl interpreters
  +pool, so all your modifications to C<@INC> and preloading of the
  +modules should be done again. Consider using L<PerlOptions
  ++Clone|/C_Clone_> if you want to inherit from the parent Perl
  +interpreter.
   
   Or even for a given location, for something like "dirty" cgi scripts:
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-cvs-help@perl.apache.org