stas 2004/02/26 12:30:24
Modified: src/docs/2.0/devel/core explained.pod
Log:
another enum example
Revision Changes Path
1.4 +7 -0 modperl-docs/src/docs/2.0/devel/core/explained.pod
Index: explained.pod
===================================================================
RCS file: /home/cvs/modperl-docs/src/docs/2.0/devel/core/explained.pod,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -u -r1.3 -r1.4
--- explained.pod 22 Feb 2004 04:02:06 -0000 1.3
+++ explained.pod 26 Feb 2004 20:30:24 -0000 1.4
@@ -1104,6 +1104,13 @@
Notice that I<_e> part at the end of the enum name has gone.
+in case of Apache constants remove the leading C<ap_> and terminating
+C</_(t|e)$/>. For example I<ap_conn_keepalive_e> needs to be added as:
+
+ my %enums_wanted = (
+ Apache => { map { $_, 1 } qw(conn_keepalive) },
+ );
+
After adding/modifying the datastructures make sure to run C<make
source_scan> or C<perl build/source_scan.pl> and verify that the
wanted constant or enum were picked by the source scanning
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]