Hi, I was wondering if it's possible to reload a PerlInitHandler's code when a PerlResponseHandler's code changes. I'm inserting PerlResponseHandlers at runtime, but when it's code changes, the code reference set by the PerlInitHandler is pointing to the wrong piece of code. Like this:
PerlInitHandler Dispatcher -- package Dispatcher; handler { #... if(my $coderef = $mod->can($sub)) { $r->set_handlers(PerlResponseHandler => $coderef); } } -- package X #($mod) sub y #($sub) { print "hello world"; return 0 } If I change the "hello world" string, the module gets reloaded ok, but I presume the $coderef is pointing to the wrong piece of code? I've also tried: if(my $coderef = eval { $mod->can($sub) }) { ... } but with no difference. -- kind regards, Tim Esselens