Douglas Riordan wrote:
greetings,
so i was trying to get a small mp2 method handler working:
package My;
use strict;
use warnings;
use base qw(Base);
use Apache2::RequestRec();
use Apache2::RequestIO();
use Apache2::Const qw(OK);
sub handler : method {
my ($self, $r) = @_;
$r->content_type("text/plain");
$r->print($self->hello_world(), "\n");
# $r->print("does this seg fault?\n");
for (sort keys %ENV) {
$r->print("$_ => $ENV{$_}\n");
}
return OK;
}
I belive you just want to say:
return Apache2::Const::OK;
--
END
---------------------------------------------------------
What doesn't kill us can only make us stronger.
Nothing is impossible.
Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Developer / Liquidity Services, Inc.
http://www.liquidityservicesinc.com