Subject: | log::dispatchouli handling log_fatal dies at .../x86_64-linux-thread-multi/Moose/Meta/Method/Delegation.pm line 108 |
$ perl -MLog::Dispatchouli -E 'package A;use Moose;has
l=>(default=>sub{Log::Dispatchouli->new({ident=>"foo"})},handles=>["log_fatal"]);sub
a{$_[0]->log_fatal("foo")} A->new->a'
foo at
/home/jquelin/prog/local/lib/perl5/x86_64-linux-thread-multi/Moose/Meta/Method/Delegation.pm
line 108
==> we want the log_fatal to report where it fails, not the moose
handling code.
adding a \n doesn't help