gozer       2004/09/14 10:49:34

  Modified:    src/docs/2.0/api/Apache Directive.pod
  Log:
  Apache::Directive conftree() changed from class method to
  regular subroutine
  
  Revision  Changes    Path
  1.12      +6 -6      modperl-docs/src/docs/2.0/api/Apache/Directive.pod
  
  Index: Directive.pod
  ===================================================================
  RCS file: /home/cvs/modperl-docs/src/docs/2.0/api/Apache/Directive.pod,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- Directive.pod     14 Sep 2004 17:07:55 -0000      1.11
  +++ Directive.pod     14 Sep 2004 17:49:34 -0000      1.12
  @@ -9,7 +9,7 @@
   
     use Apache::Directive ();
     
  -  my $tree = Apache::Directive->conftree;
  +  my $tree = Apache::Directive::conftree();
     
     my $documentroot = $tree->lookup('DocumentRoot');
     
  @@ -92,7 +92,7 @@
   
   And later:
   
  -  my $tree = Apache::Directive->conftree;
  +  my $tree = Apache::Directive::conftree();
     my $node = $tree->lookup('PerlSwitches');
     my $args = $node->args;
   
  @@ -133,7 +133,7 @@
   
   And later:
   
  -  my $tree = Apache::Directive->conftree;
  +  my $tree = Apache::Directive::conftree();
     my $node = $tree->lookup('Location', '/test/');
     my $hash = $node->as_hash;
   
  @@ -179,7 +179,7 @@
   
   And later:
   
  -  my $tree = Apache::Directive->conftree;
  +  my $tree = Apache::Directive::conftree();
     my $node = $tree->lookup('Location', '/test/');
     my $string = $node->as_string;
   
  @@ -197,7 +197,7 @@
   
   Get the root of the configuration tree:
   
  -  $conftree = Apache::Directive->conftree();
  +  $conftree = Apache::Directive::conftree();
   
   =over 4
   
  @@ -258,7 +258,7 @@
   
   For example:
   
  -  my $tree = Apache::Directive->conftree;
  +  my $tree = Apache::Directive::conftree();
     my $node = $tree->lookup('VirtualHost', 'example.com');
     my $filename = $node->filename;
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to