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 Status.pod
Date Fri, 05 Nov 2004 21:30:35 GMT
stas        2004/11/05 13:30:35

  Modified:    src/docs/2.0/api/Apache Status.pod
  Log:
  correct the menu_item example to use Apache::Module::loaded to test
  whether Apache::Status was loaded
  
  Revision  Changes    Path
  1.4       +5 -4      modperl-docs/src/docs/2.0/api/Apache/Status.pod
  
  Index: Status.pod
  ===================================================================
  RCS file: /home/cvs/modperl-docs/src/docs/2.0/api/Apache/Status.pod,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -u -r1.3 -r1.4
  --- Status.pod	22 May 2004 02:03:27 -0000	1.3
  +++ Status.pod	5 Nov 2004 21:30:35 -0000	1.4
  @@ -43,15 +43,16 @@
     Apache::Status->menu_item(
        'DBI' => "DBI connections", #item for Apache::DBI module
        sub {
  -         my($r,$q) = @_; #request and CGI objects
  +         my($r, $q) = @_; #request and CGI objects
            my(@strings);
            push @strings,  "blobs of html";
            return \@strings;     #return an array ref
        }
  -  ) if Apache->module("Apache::Status"); #only if Apache::Status is loaded
  +  ) if Apache::Module::loaded('Apache::Status');
   
  -B<WARNING>: Apache::Status must be loaded before these modules via the 
  -PerlModule or PerlRequire directives.
  +B<WARNING>: C<Apache::Status> must be loaded before these modules via
  +the C<PerlModule> or C<PerlRequire> directives (or from
  +F<startup.pl>).
   
   
   
  
  
  

---------------------------------------------------------------------
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