Closed rurban closed 8 years ago
At CPAN only those modules depend on the warning msg and need distroprefs rules: Sub-Install
constant is already in core Class-Multimethods should be enhanced also. Test-Trap was fixed with 5.22.3
The 2nd printed location is wrong, causing regressions in Sub-Install/t/install.t
The added 1st "called by" message does no harm there, but the cxstack_ix is off by one.
It makes not much sense to print the file:line of the subroutine redefinition, when loading a script twice. It just prints the location of the redefined function. We want to add the location of the caller who caused that 2nd wrong redefinition.
=>