Created
August 28, 2012 10:20
-
-
Save xtetsuji/3496953 to your computer and use it in GitHub Desktop.
Show almost every Apache2::Const having constants.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
# ogata 2012/08/28 | |
# Show almost every Apache2::Const having constants. | |
use strict; | |
use warnings; | |
use Apache2::Const -compile => qw( | |
:cmd_how | |
:common | |
:config | |
:conn_keepalive | |
:context | |
:filter_type | |
:http | |
:input_mode | |
:log | |
:methods | |
:mpmq | |
:options | |
:override | |
:platform | |
:remotehost | |
:satisfy | |
:types | |
:proxy | |
); | |
for my $key ( sort keys %Apache2::Const:: ) { | |
print "$key => " . eval("Apache2::Const::$key") . "\n"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment