> Josh Narins Director of Application Development SeniorBridge
845 Third Ave 7th Floor New York, NY 10022 Tel: (212) 994-6194 Mobile: (917) 488-6248 Fax: (212) 994-4260 jnar...@seniorbridge.com SeniorBridge Managing Complex Chronic Care http://www.seniorbridge.com SeniorBridge Statement of Confidentiality: The contents of this email message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. Any dissemination, distribution or copying of this email by an unintended or mistaken recipient is strictly prohibited. In said event, kindly reply to the sender and destroy all entries of this message and any attachments from your system. Thank you.-----Original Message----- > From: Torsten Förtsch [mailto:torsten.foert...@gmx.net] > Sent: Wednesday, April 04, 2012 11:35 AM > To: modperl@perl.apache.org > Cc: Josh Narins > Subject: Re: Quiet Internal Server Errors > > 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 Sorry, that was just a typo in the message I sent. I have the subroutine named correctly on disk.