Christopher H. Laco wrote:
Can't locate object method "dir_config" via package "Apache2::RequestRec"
Thats a good question. Your code looks fundamentally correct. Here's a live
example maybe it will help.
http://p6m7g8.net/dir_config
<Location /dir_config>
SetHandler modperl
PerlResponseHandler TEST::DirConfig
PerlSetVar Config test
</Location>
package TEST::DirConfig;
use strict;
use warnings FATAL => 'all';
use Carp;
use Apache2::RequestRec ();
use Apache2::Const -compile => qw(OK);
sub handler {
my $r = shift;
$r->print($r->dir_config('Config'));
return Apache2::Const::OK;
}
1;
--
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/
Senior Developer / Liquidity Services, Inc.
http://www.liquidityservicesinc.com
http://www.liquidation.com
http://www.uksurplus.com
http://www.govliquidation.com
http://www.gowholesale.com