On Wednesday, 04 April 2012 10:42:47 Josh Narins wrote: > PerlModule Phase::PostConfig > PerlPostConfigHandler Phase::PostConfig::handler > > and putting in the very simple: > > use Apache2::Const -compile => 'OK'; > > sub post_config { > print STDERR "configuration is complete\n"; > return Apache2::Const::OK; > } > 1;
And you expect &post_config to act as PerlPostConfigHandler? I think it should read either package Phase::PostConfig; ... sub handler {...} or sub Phase::PostConfig::handler {...} Also, if the handler is named "handler" you may omit "::handler" in the PerlPostConfigHandler argument: PerlPostConfigHandler Phase::PostConfig If your handler has any other name you must specify it: PerlPostConfigHandler Phase::PostConfig::post_config The combination you have chosen, naming the handler Phase::PostConfig::post_config and configuring it as Phase::PostConfig::handler won't work. Torsten Förtsch -- Need professional modperl support? Hire me! (http://foertsch.name) Like fantasy? http://kabatinte.net