perl-docs-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject cvs commit: modperl-docs/src/docs/2.0/api/Apache Reload.pod
Date Thu, 11 Mar 2004 09:21:07 GMT
stas        2004/03/11 01:21:07

  Modified:    src/docs/2.0/api/Apache Reload.pod
  Log:
  "Failing to Find a File to Reload" discussion
  
  Revision  Changes    Path
  1.9       +20 -0     modperl-docs/src/docs/2.0/api/Apache/Reload.pod
  
  Index: Reload.pod
  ===================================================================
  RCS file: /home/cvs/modperl-docs/src/docs/2.0/api/Apache/Reload.pod,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -u -r1.8 -r1.9
  --- Reload.pod	14 Jan 2004 09:23:47 -0000	1.8
  +++ Reload.pod	11 Mar 2004 09:21:07 -0000	1.9
  @@ -224,6 +224,26 @@
   time errors if there are any, but the symbols don't get imported to
   the right namespace. Therefore the old version of the code is running.
   
  +
  +=head2 Failing to Find a File to Reload
  +
  +C<Apache::Reload> uses C<%INC> to find the files on the filesystem. If
  +an entry for a certain filepath in C<%INC> is relative,
  +C<Apache::Reload> will use C<@INC> to try to resolve that relative
  +path. Now remember that mod_perl freezes the value of C<@INC> at the
  +server startup, and you can modify it only for the duration of one
  +request when you need to load some module which is not in on of the
  +C<@INC> directories. So a module gets loaded, and registered in
  +C<%INC> with a relative path. Now when C<Apache::Reload> tries to find
  +that module to check whether it has been modified, it can't find since
  +its directory is not in C<@INC>. So C<Apache::Reload> will silently
  +skip that module.
  +
  +You can enable the C<Debug|/Debug> mode to see what C<Apache::Reload>
  +does behind the scenes.
  +
  +
  +
   =head2 Problems with Scripts Running with Registry Handlers that Cache the Code
   
   The following problem is relevant only to registry handlers that cache
  
  
  

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


Mime
View raw message