Subject: | IKC fails if some POE debug is enabled |
sub POE::Kernel::ASSERT_DEFAULT () { 1 }
sub POE::Kernel::CATCH_EXCEPTIONS () { 1 }
sub POE::Session::ASSERT_STATES () { 1 }
will cause IKC to fail (Channel.pm(line 533) and Client.pm(line 145)).
Easily reproduced by adding the above lines to the client app at
http://poe.perl.org/?POE_Cookbook/Inter_Kernel_Communique
Wrapping the offending lines with
if ( defined $kernel->alias_resolve('IKC') ) {
#...
}
fixes the problem.