Constants under repeated inheritance in Perl: Prototype mismatch: () vs none
First excuse for this complex type of question lacking a minimal non-working example, but the code is really too complex to derive a MWE.
Anyway I’ll try to explain the problem: