Hi.
Just for the rest of us : does anyone care to summarise what works and
works not (inasfar as not necessarily documented and/or intuitive) ?
And maybe what the original point of this interesting thread was ?
Thanks
André
Jonathan Vanasco wrote:
On Mar 28, 2008, at 3:11 PM, Colin Wetherbee wrote:
Care to add one, just to see what happens? :)
You know you've been working too much on the Business Side when you stop
testing stuff like that automatically. sigh...
ok...
it works if i have
package MyApp;
sub handler {}
sub handler_init {}
sub handler_etc {}
if there is a package
MyApp::hander_init.pm
and a function
MyApp->handler_init
mp will call
MyApp->handler_init
the only way i could get get
MyApp::hander_init->handler
to call was to delete MyApp->handler_init
here's a snipped from my startup.pl
foreach my $dir ( @dirs ) {
$Location{"/$dir"} = {
SetHandler=> 'modperl' ,
#PerlInitHandler=>
'Apache2::Reload',
PerlInitHandler=>
'FindMeOn::handler_test',
PerlFixupHandler=>
'FindMeOn::relaunch_check',
PerlResponseHandler=>
'FindMeOn',
PerlCleanupHandler=>
'FindMeOn::cleanup',
}
}