Subject: | Hook::LexWrap - Incomplete caller override; @DB::args were not set |
Date: | Mon, 30 Mar 2015 00:58:48 +0300 |
To: | bug-Hook-LexWrap [...] rt.cpan.org |
From: | Максим Лубянов <maximlubyanov [...] yandex.ru> |
Carp think it's being overridden incompletely
http://www.perlmonks.org/?node_id=953409
Carp can't detect subroutine's args on __DIE__
this patch Improve it
17c17,20
< my @caller = CORE::caller($i++) or return;
---
Show quoted text
> my @caller = CORE::caller() eq 'DB'
> ? do { package DB; CORE::caller($i++) }
> : CORE::caller($i++)
> or return;