Subject: | logcarp and %M |
logcarp always logs 'Log::Log4perl::Logger::logcroak' as the subroutine
name (%M). Example:
sub mysub1 {
$log->logdie('too bad'); # correct: %M is 'mysub1'
}
sub mysub2 {
$log->logcroak('oh no!'); # logs Log::Log4perl::Logger::logcroak as %M
}
This is with Perl v5.8.4 under Windows (the Activestate version)