dougm 01/04/11 15:50:10 Added: xs/Apache/Const Const.pm Const.xs Makefile.PL Log: module for compiling/export constants in the Apache:: namespace Revision Changes Path 1.1 modperl-2.0/xs/Apache/Const/Const.pm Index: Const.pm =================================================================== package Apache::Const; use ModPerl::Const (); use XSLoader (); our $VERSION = '0.01'; our @ISA = qw(ModPerl::Const); XSLoader::load(__PACKAGE__, $VERSION); 1; 1.1 modperl-2.0/xs/Apache/Const/Const.xs Index: Const.xs =================================================================== #include "mod_perl.h" #include "modperl_const.h" MODULE = Apache::Const PACKAGE = Apache::Const BOOT: newXS("Apache::Const::compile", XS_modperl_const_compile, file); 1.1 modperl-2.0/xs/Apache/Const/Makefile.PL Index: Makefile.PL =================================================================== use lib qw(../lib); use ModPerl::MM (); ModPerl::MM::WriteMakefile( NAME => 'Apache::Const', VERSION_FROM => 'Const.pm', );