I hope this isn't whats causing it, but you're missing
use Apache2::Const -compile qw(OK);
I know we prefer the other way of new() so try doing this
my $apr = Apache2::Request->new($r)
I don't recall if we support both (as you can tell I've been out of it for a
while).
package SimpleHandler;
use Apache2::Request;
sub handler {
my $r = shift;
my $apr = new Apache2::Request($r);
print "Hello APR\n";
return Apache2::Const::OK;
}
1;
If that doesn't work,
perl -V
./configure for PERL, httpd,
Makefile.PL line for mod_perl and httpd-apreq
http://libapreq2.p6m7g8.net/group__apreq__xs__request.html
Seems like the doc build on http://httpd.apache.org/apreq is busted --
missing perl glue docs. (I'll look into this soonish)
--
------------------------------------------------------------------------
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F 6A47 D55A 7172 A799 97F
"It takes a minute to have a crush on someone, an hour to like someone,
and a day to love someone, but it takes a lifetime to forget someone..."