Apache-Module
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
sub MY::postamble {
return <<'EOF';
cvs_tag :
cvs -d $(CVSROOT) tag v$(VERSION_SYM) .
@echo update Module.pm VERSION now
EOF
}
my %not_imp;
BEGIN {
%not_imp = map {$_,1} qw{
child_init
child_exit
init
create_dir_config
merge_dir_config
create_server_config
merge_server_config
};
}
sub handlers2xsubs {
my $file = shift;
require './Module.pm';
my $fh = IO::File->new(">$file") or
die "can't open $file $!";
for my $handler (Apache::Module->methods) {
my($type, $trans);
if ($not_imp{$handler}) {
$type = "int";
$trans = "member_boolean";
}
else {
$type = "SV *";
$trans = "handler2cvrv";
}
print $fh <<EOF;
$type
( run in 0.229 second using v1.01-cache-2.11-cpan-cc502c75498 )