gozer 2004/09/13 11:42:55
Modified: src/docs/2.0/api/Apache Directive.pod
Log:
Small improvements on the documentation
Revision Changes Path
1.8 +12 -9 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.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- Directive.pod 10 Aug 2004 23:02:01 -0000 1.7
+++ Directive.pod 13 Sep 2004 18:42:55 -0000 1.8
@@ -1,6 +1,6 @@
=head1 NAME
-Apache::Directive - Perl API for manipulating Apache configuration tree
+Apache::Directive - Perl API for manipulating the Apache configuration tree
@@ -24,6 +24,11 @@
print $node->as_string;
#do something with $node
+
+ my $directive = $node->directive;
+ my $args = $node->args;
+ my $filename = $node->filename;
+ my $line_num = $node->line_num;
if (my $kid = $node->first_child) {
$node = $kid;
@@ -47,14 +52,8 @@
=head1 Description
-C<Apache::Directive> allows its users to search and navigate the
-internal Apache configuration.
-
-Internally, this information is stored in a tree structure. Each node
-in the tree has a reference to its parent (if it's not the root), its
-first child (if any), and to its next sibling.
-
-B<All these methods are read-only>
+C<Apache::Directive> provides the Perl API for manipulating the Apache
+configuration tree
@@ -256,7 +255,11 @@
=item arg1: C<$directive> ( string )
+The name of the directive to search for
+
=item opt arg2: C<args> ( string )
+
+Optional args to the directive to filter for
=item ret: C<$string> ( string / ARRAY of HASHES )
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]