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 2002/04/21 19:30:56 UTC

cvs commit: modperl-docs/src/docs/1.0/guide perl.pod

stas        02/04/21 10:30:56

  Modified:    src/docs/1.0/guide perl.pod
  Log:
  typo
  Submitted by:	S�ren Stuckenbrock <st...@netendance.de>
  
  Revision  Changes    Path
  1.6       +5 -5      modperl-docs/src/docs/1.0/guide/perl.pod
  
  Index: perl.pod
  ===================================================================
  RCS file: /home/cvs/modperl-docs/src/docs/1.0/guide/perl.pod,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- perl.pod	4 Apr 2002 02:24:28 -0000	1.5
  +++ perl.pod	21 Apr 2002 17:30:56 -0000	1.6
  @@ -1749,21 +1749,21 @@
   
   In the I<startup.pl> we might have the following code:
   
  -    # retrieve the configuration module path
  -  use Apache:
  +  # retrieve the configuration module path
  +  use Apache;
     my $s             = Apache->server;
     my $base_dir      = $s->dir_config('FooBaseDir')      || '';
     my $config_module = $s->dir_config('FooConfigModule') || '';
     die "FooBaseDir and FooConfigModule aren't set in httpd.conf" 
       unless $base_dir and $config_module;
     
  -    # build the real path to the config module
  +  # build the real path to the config module
     my $path = "$base_dir/$config_module";
     $path =~ s|::|/|;
     $path .= ".pm";
  -    # we have something like "/home/httpd/foo/Foo/Config.pm"
  +  # we have something like "/home/httpd/foo/Foo/Config.pm"
     
  -    # now we can pull in the configuration module
  +  # now we can pull in the configuration module
     require $path;
   
   Now we know the module name and it's loaded, so for example if we need
  
  
  

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