Fix RT#83267
authorTyler Riddle <t.riddle@shadowcat.co.uk>
Tue, 12 Feb 2013 04:25:06 +0000 (20:25 -0800)
committerArthur Axel 'fREW' Schmidt <frioux@gmail.com>
Fri, 15 Feb 2013 01:56:00 +0000 (19:56 -0600)
commit249b9eb6917f5c8befb1d8964a643d23c46a4a0e
tree85fd057a79bb037474f1351e7e8d2de69d1f1ebb
parent8ccaf9fb72ff9d1cf0e011ac0106fbeff8a97cc5
Fix RT#83267

The following code from Module::Metadata 1.000011 exposed the bug

   BEGIN {
     if ($INC{'Log/Contextual.pm'}) {
       Log::Contextual->import('log_info');
     } else {
       *log_info = sub (&) { warn $_[0]->() };
     }
   }
Changes
lib/Log/Contextual.pm
t/rt83267-begin.t [new file with mode: 0644]
t/rt83267.t [new file with mode: 0644]