SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

BotDetect - Real-Time Bot Detection API
 
 

MAN page from Old RedHat 5.X mod_perl-1.11-3.i386.rpm

lib::Apache::ExtUtils

Section: User Contributed Perl Documentation (3)
Updated: mod_perl-1.11
Index 

NAME

Apache::ExtUtils - Utils for Apache:C/Perl glue 

SYNOPSIS

    use Apache::ExtUtils ();
 

DESCRIPTION

Just one method at the moment:

  use IO::File ();  use Apache::ExtUtils ();
  my @directives = qw(MyDirective);  my $fh = IO::File->new(">My/Module/Module.xs") or die $!  my $xs_code = Apache::ExtUtils->xs_cmd_table("My::Module", \@directives);  print $fh $xs_code;
This example will generate a .xs file which declares an Apache C modulefor the My::Module class. It is used simply to allow Perl modules toadd their own directives to Apache, rather than use PerlSetVar.When the directive is encountered in a config file, a Perl subroutine ofthe same name in the My::Module class is called and passed the argumentsas perl TAKE123.

For an example, see t/TestDirectives in the mod_perl distribution. 

AUTHOR

Doug MacEachern


 

Index

NAME
SYNOPSIS
DESCRIPTION
AUTHOR

This document was created byman2html,using the manual pages.
 
ICM Bot detect detector